Skip to content

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

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Conversation

mzishtiaq
Copy link
Contributor

@mzishtiaq mzishtiaq commented Feb 23, 2021

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.

@mzishtiaq mzishtiaq force-pushed the upgrade_json_api_client branch from 49c0694 to 6229b56 Compare March 4, 2021 10:49
Zeeshan Ishtiaq added 2 commits March 4, 2021 10:51
@mzishtiaq mzishtiaq changed the title Update JSON API Client to 1.6.4 Update JSON API Client to 1.6.0 Mar 5, 2021
)
request(:post, klass.path(record.attributes), {
body: { data: record.as_json_api },
params: record.request_params&.to_params
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with this.

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

Successfully merging this pull request may close these issues.

3 participants