https://github.com/graphql/graphql-js/issues/3532#issuecomment-1125126566
serialize() can not return null, so I’m getting GRAPHQL error {"errors":[{"message":"Expected JsonType.serialize("null")
to return non-nullable value, returned: null" error where JsonType is my customized scalar.
tried to return undefined but it’s not working either.
New contributor