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

Method patch not working with joinBy* fields. #30

Open
GiuseppeCM opened this issue Jan 25, 2019 · 0 comments
Open

Method patch not working with joinBy* fields. #30

GiuseppeCM opened this issue Jan 25, 2019 · 0 comments

Comments

@GiuseppeCM
Copy link
Contributor

GiuseppeCM commented Jan 25, 2019

I try to patch one fields (type:joinBy*), but the only way to do this is:
{"_fieldsName":"","fieldsNameId":"cjraqbk600005cw0wjpj2kot7"}, but it is wrong because the correct way to patch a field is {"fieldsNameId":"cjraqbk600005cw0wjpj2kot7"}.
In documentation : "Include only the properties you wish to change."

I think it's caused because the check into schema about piece is only on "name" attribute and not "idField" or "idsField" for the join fields, so the fields to change is not found and updated.

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

No branches or pull requests

1 participant