Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[form-builder] Simplify input resolving #234

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Oct 5, 2017

Previously, resolving which input to use for which type was done at several levels (we had a default resolver in the form-builder, and another resolver in the sanity layer) and it became quite hard to figure out what happened where.

This patch moves most of the input resolving logic to the same place (the sanity layer), so it's (hopefully) a bit easier to reason about it now.

This fix is not really related to the batch-upload feature, but it fixes an bug that I accidentally introduced in that branch, so I suggest we merge this into the patch-upload branch before merging it into next.

@bjoerge bjoerge requested a review from rexxars October 5, 2017 13:39
Copy link
Member

@rexxars rexxars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hooray! 🎉

@bjoerge bjoerge merged commit 775b746 into feature/batch-upload Oct 5, 2017
@bjoerge bjoerge deleted the refactor/simplify-input-resolving branch October 5, 2017 14:14
bjoerge added a commit that referenced this pull request Oct 5, 2017
rexxars pushed a commit that referenced this pull request Oct 6, 2017
bjoerge added a commit that referenced this pull request Oct 11, 2017
bjoerge added a commit that referenced this pull request Oct 11, 2017
bjoerge added a commit that referenced this pull request Oct 12, 2017
bjoerge added a commit that referenced this pull request Oct 12, 2017
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.

None yet

2 participants