Look into GraphQL Codegen config improvements #1426
Labels
frontend
maintenance
severity - low
little impact to the overall functionality of the Portal (e.g., wrong sized button)
https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-operations
Worth looking into:
avoidOptionals
- remove unnecessary?:
s on fields. It's also possible to not apply this toinputs
if we don't want to also changemaybeValue
toT | undefined
(otherwise it'll require input objects to specify all unused fields asnull
).immutableTypes
maybeValue
- changing toT | undefined
in conjunction withavoidOptionals
can allow us to removenull
s from the codebase.The text was updated successfully, but these errors were encountered: