-
Notifications
You must be signed in to change notification settings - Fork 108
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
[Bug]: mutation must have unique named fields from objectbrick #894
Comments
Does anyone have a workaround for this one? |
@LeonNoBears In file
This problem is also present in "Image Gallery" and can be fixed analogically. Basically, if you reuse the same "name" you should make sure to also use the exact same instance. Originally for each new field of type "Table" or "Image gallery" new instance of InputObjectType was created. And if different instances share the same "name", then: |
Expected behavior
Mutation is possible by calling the fields by either only their
code
e.g.foo
or with the objec obrick as a prefix e.g.ObjectBrickFoo.foo
Actual behavior
gives an error because the label is picked and set in the scema.
Steps to reproduce
The text was updated successfully, but these errors were encountered: