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

Fix ra-data-graphql-simple update methods #7002

Merged
merged 3 commits into from
Dec 17, 2021
Merged

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Dec 16, 2021

Closes #6979

@djhi djhi added the RFR Ready For Review label Dec 16, 2021
@djhi djhi added this to the 3.19.5 milestone Dec 16, 2021
[key]: data[key],
};
},
{ id }
Copy link
Member

Choose a reason for hiding this comment

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

on a create call, id isn't required. I'm surprised you return it in that case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because it doesn't matter, it will be undefined. Tried it on the demo without issues

Copy link
Contributor Author

Choose a reason for hiding this comment

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

However, I'll include some fixes for the gql version of the demo, don't merge

@djhi djhi added WIP Work In Progress and removed RFR Ready For Review labels Dec 16, 2021
@vercel vercel bot temporarily deployed to Preview – react-admin-storybook December 16, 2021 13:35 Inactive
@vercel vercel bot temporarily deployed to Preview – react-admin December 16, 2021 13:35 Inactive
@vercel vercel bot temporarily deployed to Preview – react-admin-storybook December 16, 2021 13:46 Inactive
@vercel vercel bot temporarily deployed to Preview – react-admin December 16, 2021 13:46 Inactive
@djhi djhi added RFR Ready For Review and removed WIP Work In Progress labels Dec 16, 2021
@fzaninotto fzaninotto merged commit 034a7ba into master Dec 17, 2021
@fzaninotto fzaninotto deleted the fix-graphql-update branch December 17, 2021 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] updateMany broken in ra-data-graphql-simple in 3.19.x
3 participants