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-gql-amp) exclude array of primitives from connect and set #13

Merged
merged 6 commits into from
Mar 29, 2022

Conversation

abrl91
Copy link

@abrl91 abrl91 commented Mar 26, 2022

resolve #12

now when creating updating nested entities it gets updated (as before), but when it is an array of primitives like user roles (which is also not a relation nested input) - it is filtered out.

order and its products
Screen Shot 2022-03-27 at 0 19 02

user with his orders and roles
Screen Shot 2022-03-27 at 0 20 00

@abrl91 abrl91 requested a review from yuval-hazaz March 26, 2022 21:27
Copy link
Member

@yuval-hazaz yuval-hazaz left a comment

Choose a reason for hiding this comment

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

well done

@abrl91 abrl91 requested a review from yuval-hazaz March 29, 2022 13:12
@yuval-hazaz yuval-hazaz merged commit 5852c1d into main Mar 29, 2022
@yuval-hazaz yuval-hazaz deleted the fix/12-array-of-primitives branch March 29, 2022 13:44
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.

error when trying to create or update resource that its field type value is not an object
2 participants