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

Move field-specific mutations to field controllers #323

Closed
mingard opened this Issue Sep 6, 2017 · 0 comments

Comments

Projects
2 participants
@mingard
Copy link
Member

mingard commented Sep 6, 2017

In examples seen here https://github.com/dadi/api/blob/master/dadi/lib/model/index.js#L336-L377, many of the field-specific mutations for postRetrieval and preSave exist in the model/index. To reduce the noise, and better error handling, move these to dadi/lib/fields.

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