How do you type partial types in a TypeScript Angular application using an Apollo backend?
问题 Edit: I'm looking for an authority and sourced answer from Graphql-Angular community to provide a best practice example. For example, we have a Person type defined as such in TypeScript: interface Person { firstName: string; lastName: string; birthDate: Date; age: number; ...and many more attributes } Let's say you have a component, and in accordance to the graphql mantra, you only fetch what you need. No overfetching and underfetching. I only need the Person 's firstName and age , so I make