merott
11/21/2018, 9:46 PMgraphqlgen
, and it may or may not be a bug… Not sure if the forum would be a better place to discuss it, but here I go…
If I have a mutation like this:
type Mutation {
updateUser(x: [String!]!, y: [String!], z: String): User!
}
The generated interface for the mutation variables, ArgsUpdateUser
, looks like this:
export interface ArgsUpdateUser {
x: string[];
y: string[];
z: string | null;
}
I would expect that y
should be typed as string[] | null
, but it’s just `string[]`… Is that expected behaviour?