Skip to content

Use specific types for parent in Graphql Resolver #5697

@IcaroG

Description

@IcaroG

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

Metadata

Metadata

Assignees

Labels

c:frontendUI/UX (Plasmic/Next.js)

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions