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

Move field-specific mutations to field controllers #323

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

Move field-specific mutations to field controllers #323

mingard opened this issue Sep 6, 2017 · 0 comments

Comments

@mingard
Copy link
Contributor

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
Projects
None yet
Development

No branches or pull requests

2 participants