Hi everyone ! I have some doubts about typing my r...
# orm-help
p
Hi everyone ! I have some doubts about typing my resolvers in GraphQL with graphqlgen. Really when I try to generate my models (Interfaces Typescript) from SDL. For example: My schema has the types I let you know below:
Copy code
type Audit {
  createDate: String!
}

type ServiceClient {
 id: ID!
 userName: String!
 password: String!
 auditInfo: Audit --> this property disappear 
}
But when I run the graphqlgen command I have the next result:
Copy code
export interface ServiceClient {
 id: string
 userName: string
 password: string
}
export interface Audit {
 createDate: string
}
How you can see, the interface ServiceClient lost the auditInfo property and I don't know why. I was reading the documentation and I don´t know why It has this behavior. Can you help me? Thanks you very much!
h
looks like a bug to me, can you please report this to the graphqlgen repo with a small reproduction?