Bug: IsZero() Method Causes Incorrect Null Conversion for Non-Nullable Fields
Bug: IsZero() Method Causes Incorrect Null Conversion for Non-Nullable Fields: a task in LegoFlow-SWE (Harbor dataset). When a Go type used in a gqlgen schema has an IsZero() method (e.g., time.Time , decimal.Decimal ), gqlgen automatically converts zero values to GraphQL null . This behavior is…
The task
When a Go type used in a gqlgen schema has an `IsZero()` method (e.g., `time.Time`, `decimal.Decimal`), gqlgen automatically converts zero values to GraphQL `null`. This behavior is problematic in two ways:
Part of Lego-X/LegoFlow-SWE.