oso icon indicating copy to clipboard operation
oso copied to clipboard

Use specific types for parent in Graphql Resolver

Open IcaroG opened this issue 1 month ago • 1 comments

When defining the resolver for a type in graphql, we should use the specific type in the parent parameter.

For example, in this image from organization.ts, parent shouldn't be hard typed to { id: string }. It would be better if we use the whole type like OrganizationsRow

image.png

IcaroG avatar Nov 20 '25 20:11 IcaroG

OSO-1304

linear[bot] avatar Nov 20 '25 20:11 linear[bot]