Code Monkey home page Code Monkey logo

Comments (8)

obukhov avatar obukhov commented on June 16, 2024 1

Sorry, haven't had time yet to dig into this issue. The issue appeared together with gateway usage. I'll try to debug / trace the issue in more details this week

from graphql.

AlecAivazis avatar AlecAivazis commented on June 16, 2024

@JohnStarich mind taking a look at this? It must be related to your recent PR

from graphql.

JohnStarich avatar JohnStarich commented on June 16, 2024

Sure thing, I'll take a look. Feel free to assign me

from graphql.

JohnStarich avatar JohnStarich commented on June 16, 2024

Hey @obukhov, do you have a minimal example that exhibits the issue?

Edit: I see we have test cases that cover inline fragments, which I think covers Union spreads.
I added a new test locally for the below scenario and haven't seen issues (yet):

query {
	items {
		... on TypeA {
			name
		}
		... on TypeB {
			name
		}
	}
}

# ApplyFragments result:
{
	name
}

from graphql.

JohnStarich avatar JohnStarich commented on June 16, 2024

Hey @obukhov, any luck so far? If you have an example using the gateway, that'd be helpful too.

I'd be happy to fix an issue if present, just don't know what to look for yet 🙂

from graphql.

JohnStarich avatar JohnStarich commented on June 16, 2024

@obukhov or @AlecAivazis Any luck? I've been unable to reproduce the above issue.

from graphql.

JohnStarich avatar JohnStarich commented on June 16, 2024

@obukhov I'll go ahead and close for now since we haven't heard back in a while. Feel free to re-open when you find out more!

from graphql.

JohnStarich avatar JohnStarich commented on June 16, 2024

@obukhov I think I missed this in my first attempts because the tests skipped the introspection step, which contained the bug.

@sGy1980de found the problem and fixed it! 🎉

from graphql.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.