Skip to content
This repository was archived by the owner on Aug 17, 2017. It is now read-only.

handle UnpermittedParameters as bad request #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marshallshen
Copy link

Should we rescue UnpermittedParameters the same way as ParameterMissing? It is cleaner to return as bad request with a meaningful response body rather than raise error in the system.

It shines when you try to build API for services using strong parameters.

@chikamichi
Copy link
Contributor

Hi,

This PR never got any feedback. Would such a change make sense to the maintainers? It could provide more consistency IMO.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants