-
Notifications
You must be signed in to change notification settings - Fork 0
Update JSON API Client to 1.6.0 #199
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
base: master
Are you sure you want to change the base?
Conversation
…uired_fields_on_customer_account
49c0694
to
6229b56
Compare
) | ||
request(:post, klass.path(record.attributes), { | ||
body: { data: record.as_json_api }, | ||
params: record.request_params&.to_params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually is request_params coming as nil is acceptable here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes because it doesn't look like we are using it but I don't want to remove it for all cases.
) | ||
request(:patch, resource_path(record.attributes), { | ||
body: { data: record.as_json_api }, | ||
params: record.request_params&.to_params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with this.
This PR fixes the test suite and updates JSON API client to 1.6.4. We have noticed some issues while trying an update previously so this will need to be tested before releasing.