Open jsakars opened 9 months ago
Hi!
#[GQL\Field(type: Type::STRING)] can be used to specify that given input field is a string - nullable
#[GQL\Field(type: Type::STRING)]
In order to define not null string the only option is: #[GQL\Field(type: 'String!')]
#[GQL\Field(type: 'String!')]
Is there a smoother option rather then using string 'String!? Something like #[GQL\Field(type: Type::STRING!)] maybe?
#[GQL\Field(type: Type::STRING!)]
References https://github.com/webonyx/graphql-php/issues/1462
Hi!
#[GQL\Field(type: Type::STRING)]
can be used to specify that given input field is a string - nullableIn order to define not null string the only option is:
#[GQL\Field(type: 'String!')]
Is there a smoother option rather then using string 'String!? Something like
#[GQL\Field(type: Type::STRING!)]
maybe?References https://github.com/webonyx/graphql-php/issues/1462