client objects are not generated when schema is used
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 217
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Per: https://graphql.org/learn/schema/
if schema.graphql contains:
schema {
query: QueryRoot
}
type QueryRoot @extends {
ticks(first: Int, after: Int, allowCached: Boolean): TicksConnection
}
Then the following files are not generated:
./target/generated-sources/com/test/shopify/generated/client/TicksProjectionRoot.java
./target/generated-sources/com/test/shopify/generated/client/RouteProjection.java
./target/generated-sources/com/test/shopify/generated/client/TicksGraphQLQuery.java
./target/generated-sources/com/test/shopify/generated/client/TickProjection.java
./target/generated-sources/com/test/shopify/generated/client/VotesProjection.java
./target/generated-sources/com/test/shopify/generated/client/TickEdgeProjection.java
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the schema.graphql example, using the GraphQL schema documentation linked in the report for context. Compare the generated output with the six missing paths under target/generated-sources/com/test/shopify/generated/client/. Done means those client projection and query files are generated when the schema uses schema { query: QueryRoot } and QueryRoot @extends.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, kotlin
- Domain
- backend-api-design, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100