Object of class GraphQL\Type\Definition\FieldDefinition could not be converted to number #838
Replies: 1 comment
-
Sorry I really can't say from the code I see.
I usually see this when a the underlying webonxy GraphQL library expects a "string array key" somewhere but receives just an integer, often due to an invalid field spec. I.e. instead something like this (just made up) 'roleId' => Type::id(), That isn't the case according to your screenshots, but just giving some pointers maybe this or a similar error happens somewhere else not visible here. If you provide a standalone project on github to check out with the code not working and some basic instruction how to run it, I can offer to take a look there. It's usually easier with so many definitions required in GraphQL. |
Beta Was this translation helpful? Give feedback.
-
Versions:
Description:
Interface fields sharing on input type throws an error.
Please describe in detail the nature of the bug, code samples, etc.
Error:
Interface:
Type:
Beta Was this translation helpful? Give feedback.
All reactions