Closed nelsonjr closed 1 month ago
Thanks for the post -- there's a bunch more documentation of genqlient's handling of nullability (by default and config options) here: https://github.com/Khan/genqlient/blob/main/docs/operations.md#nullable-fields
Thanks, Ben, for the pointers!
Describe the bug
For queries that have string parameters that are not
!
, the generator creates it asstring
instead of*string
, making it impossible to use it, for example, on pagination cursors.To Reproduce
Generate this query:
Observe that the test is:
Expected behavior
For this query, after must be:
after *string
genqlient version
v0.7.0