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

correct changes after initialize resource #326

Merged

Conversation

senid231
Copy link
Member

ensure query doesn't add attributes to resource via #build method

fixes #289

@senid231 senid231 self-assigned this Jan 15, 2019
@senid231 senid231 requested a review from gaorlov January 15, 2019 10:48
@senid231 senid231 force-pushed the ensure-correct-changes-on-resource-init branch from 8fa6cfb to e389bb7 Compare January 15, 2019 11:04
Copy link
Collaborator

@gaorlov gaorlov left a comment

Choose a reason for hiding this comment

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

👍

remove type from changes on initialize
ensure that query builder doesn't propagate query values to resource attributes via #build method
@senid231 senid231 force-pushed the ensure-correct-changes-on-resource-init branch from e389bb7 to 4c1b9fa Compare January 23, 2019 21:40
@senid231 senid231 merged commit e9471f4 into JsonApiClient:master Jan 23, 2019
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.

What does the build method do?
2 participants