question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alias issues in with graphql-yoga and schema delegation

See original GitHub issue

The couple of issues were recently reported related to usage of aliases:-

  1. https://github.com/prismagraphql/prisma/issues/2429
  2. https://github.com/prismagraphql/prisma-binding/issues/176

The underlying issue is that the alias aware custom resolver we had deployed does not work when tracing or cacheControl are enabled in apollo-server and by default tracing is enabled in graphql-yoga.

We can

  1. Disable tracing in graphql-yoga until the underlying issue in apollo-server is resolved
  2. Work on the underlying issue to solve this permanently

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
maarten00commented, Dec 12, 2018

I’m also running into this issue, disabling tracing and cachecontrol does not work, any other workaround?

0reactions
stale[bot]commented, Mar 23, 2019

Hey 👋, It seems like this issue has been inactive for some time. In need for maintaining clear overview of the issues concerning the latest version of graphql-yoga we’ll close it. Feel free to reopen it at any time if you believe we should futher discuss its content. 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alias issues in with graphql-yoga and schema delegation #340
The couple of issues were recently reported related to usage of aliases:- Alias fields return null from the application schema prisma/prisma1#2429 ...
Read more >
Schema Delegation – GraphQL Tools
Schema delegation is a way to automatically forward a query (or a part of a query) from a parent schema to another schema...
Read more >
GraphQL schema delegation
In this article I'm going to talk about schema delegation — a way to automatically forward a GraphQL query (or a part of...
Read more >
graphql.wtf: Weekly GraphQL Screencasts
Automatically generate types for your local or remote GraphQL schema, and operations for better type-safety. GraphQL Yoga with Cloudflare Workers ...
Read more >
GraphQL Schema Stitching explained: Schema Delegation
Schema delegation: The core idea of schema delegation is to forward (delegate) the invocation of a specific resolver to another resolver.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found