We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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?
'String!
#[GQL\Field(type: Type::STRING!)]
The text was updated successfully, but these errors were encountered:
This library does not implement any PHP attributes, your issue belongs elsewhere.
Sorry, something went wrong.
@spawnia what about these ones then? Those are used in overblog/GraphQLBundle => see here and here
overblog/GraphQLBundle
Those are constants which hold a string. Looks like your issue belongs into overblog/GraphQLBundle.
No branches or pull requests
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?The text was updated successfully, but these errors were encountered: