You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SEVERE] built_value_generator:built_value on lib/schema.schema.gql.dart (cached):
Error in BuiltValueGenerator for /lorikeet/lib/schema.schema.gql.dart.
Please make the following changes to use built_value serialization:
1. Declare GENUM_USERSPERMISSIONSUSER_STATUS.serializer as: static Serializer<GENUM_USERSPERMISSIONSUSER_STATUS> get
serializer => _$gENUMUSERSPERMISSIONSUSERSTATUSSerializer; got static Serializer<GENUM_USERSPERMISSIONSUSER_STATUS> get serializer => _$genumUserspermissionsuserStatusSerializer;
2. Declare GENUM_USERSPERMISSIONSUSER_USERTYPE.serializer as: static Serializer<GENUM_USERSPERMISSIONSUSER_USERTYPE>
get serializer => _$gENUMUSERSPERMISSIONSUSERUSERTYPESerializer; got static Serializer<GENUM_USERSPERMISSIONSUSER_USERTYPE> get serializer => _$genumUserspermissionsuserUsertypeSerializer;
This bug is resolved by manually changing generated enum class name's case but this workaround has to be done every time the graphql schema gets updated.
Build value generator throws this error
for a graphql schema file with enums defined as -
This bug is resolved by manually changing generated enum class name's case but this workaround has to be done every time the graphql schema gets updated.
The text was updated successfully, but these errors were encountered: