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

Separate strong parameters in API controllers #755

Open
newstler opened this issue Jan 23, 2024 · 0 comments
Open

Separate strong parameters in API controllers #755

newstler opened this issue Jan 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@newstler
Copy link
Contributor

In most cases payload to create and to update a record differ: when we need all the required fields for create, we don't really need anything special for update. Also, there are cases when we need different parameters to be present in those two actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant