Open jasonkuhrt opened 5 years ago
Given that schema, shouldn't the typescript be:
export type SomeEnum = 'A_VALUE' | 'ANOTHER_VALUE'
export interface SomeType {
someEnum: SomeEnum | null
someString: string | null
}
Looks like only scalar
fields are shown in the suggested model.
@nunovieira Thanks, example fixed
Given schema:
graphqlgen suggests model (when no
SomeType
model is supplied by user):but, should be:
related