Cannot Pass null
with GraphQL Variable Values
#2696
Labels
module/graphql
Issues related to Ballerina GraphQL module
Points/3
Team/PCM
Protocol connector packages related issues
Type/Bug
Milestone
Description:
When GraphQL service resource function has a nullable type input parameter, It should be able to pass
null
as the input value via variable json. But the service returns a validation error.Consider the following service:
This can be queried using following content:
But this returns an error:
Variable name expected value of type \"String\", found
The text was updated successfully, but these errors were encountered: