ardatan / ardatan/NexusGraphQLModules

Multiple schema typing issue

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

See: https://github.com/prisma-labs/nexus/issues/269

Also happens in this project. `NexusGraphQLModules/src/modules/messages/query.type.ts` has type errors in line 9 and 16.

The error:
`Type 'string[]' is not assignable to type '"Query" | "Chat" | "Mutation" | "Boolean" | "Float" | "ID" | "Int" | "String" | NexusObjectTypeDef | NexusInterfaceTypeDef | NexusUnionTypeDef | NexusEnumTypeDef<...> | NexusScalarTypeDef<...> | NexusWrappedType<...>'.
Type 'string[]' is not assignable to type '"String"'.`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by opening NexusGraphQLModules/src/modules/messages/query.type.ts and inspecting the reported type errors on lines 9 and 16. Compare the behavior with the linked Nexus issue and reproduce the TypeScript errors; done means those errors no longer occur in this project.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.