Optional Enum Input Parameter is Invalidated in the Compiler Plugin. #1350
Labels
module/graphql
Issues related to Ballerina GraphQL module
Priority/High
Team/PCM
Protocol connector packages related issues
Type/Bug
Milestone
Description:
For the GraphQL resources, we can have
string
,int
,boolean
,float
, orenum
as input parameters. It should be valid to have any of these parameter type unionized withnil
(Optional parameter). But currently, when an input is an optional enum, the compiler is throwing an error.Consider the following example:
The text was updated successfully, but these errors were encountered: