Open geelen opened 2 years ago
Yep this is fixed in the latest RC. At this point I would recommend switching to it if you can (let me know if there is anything preventing you from doing so and I can help).
Here's the output from running npx @timkendall/tql-gen <schema>
:
export interface ICreateUserInput {
username: string;
email: string;
avatar?: string;
posts_ref: string[];
}
export interface IUpdateUserInput {
email?: string;
avatar?: string;
posts_ref?: string[];
}
With this input:
I get this output:
Something about
posts_ref
being non-optional? Not sure if this is fixed in the v1 rc, I'm still using 0.8.0