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

When adding an attribute in the request that does not exist in the resource #55

Open
AlanMaik opened this issue Dec 1, 2020 · 0 comments

Comments

@AlanMaik
Copy link
Contributor

AlanMaik commented Dec 1, 2020

When using an updated endpoint sending only a custom example of an attribute: Resource Offer with name and status.
I add an attribute to the request:

request do
  add_attribute :change_status, :string, null: true
end

If only change_status is sent in the request I get the error below:

Failure/Error: super(*json_args(*args))
     
     ActionController::ParameterMissing:
       param is missing or the value is empty: offer
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

No branches or pull requests

1 participant