Skip to content

Move instruction->validator mapping to instruction class - #158

Draft
BBrannick wants to merge 1 commit into
masterfrom
validator-mapping
Draft

Move instruction->validator mapping to instruction class#158
BBrannick wants to merge 1 commit into
masterfrom
validator-mapping

Conversation

@BBrannick

Copy link
Copy Markdown
Contributor

This moves the mapping of Instructions to their Validators into the instruction class itself.

This makes it cleaner to configure new instructions with fewer seams, and allow gems to extend the validation suite without monkey-patching over the switch statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant