mercurius-typescript icon indicating copy to clipboard operation
mercurius-typescript copied to clipboard

Optional fields for non-nullable types

Open nonua opened this issue 1 year ago • 0 comments

Hi,

I am using your plugin to generate the adequate typings for an app I am building and I would like to know if there is a way not to have optionals fields for values I specifically mark as non-nullable in the schema? It seems like avoidOptionals does not seem to work .

Schema: Code_7hhxyv1BtA Intellisense: Code_6ulv67fOpC

Thank you!

nonua avatar Apr 22 '23 07:04 nonua