-
I have a method that returns an array and I want to use it as a GraphQL field. For domain separation reasons I can't annotate it as How can I fix the field type in such case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry, my fault. It's supposed to be |
Beta Was this translation helpful? Give feedback.
Sorry, my fault. It's supposed to be
#[Field(outputType: '[OtherType!]!')]
. That way it seems to work.