asObjectType(
config
): (arg
,ctx
) =>void
Register as a GraphQL object type.
• config: ObjectConfig
The GraphQL object config.
Function
zod superRefine refinement.
• arg: object
• ctx: RefinementCtx
void
packages/zod/src/metadata.ts:19
asObjectType(
name
): (arg
,ctx
) =>void
Register as a GraphQL object type.
• name: string
The GraphQL object name.
Function
zod superRefine refinement.
• arg: object
• ctx: RefinementCtx
void
packages/zod/src/metadata.ts:30