Comments (8)
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.
@JohnStarich mind taking a look at this? It must be related to your recent PR
from graphql.
Sure thing, I'll take a look. Feel free to assign me
from graphql.
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.
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.
@obukhov or @AlecAivazis Any luck? I've been unable to reproduce the above issue.
from graphql.
@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.
@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)
- Implement a vektah/gqlparser native query printer HOT 1
- operationName is empty when request for introspection service HOT 3
- [discussion][enhancement] middleware for introspection call HOT 3
- Bundle requests to the same service in one query
- [Question] : Do we have retry option for IntrospectAPI(). HOT 1
- IntrospectAPI support authorization HOT 1
- The default graphql @deprecated directive is skipped HOT 1
- Formatting and re-parsing IntrospectAPI's AST result fails as an invalid schema
- Cannot use object fragment on interface: Fragment cannot be spread here as objects of type "Node" can never be of type "Foo" HOT 1
- Introspection schema returns empty values for input types HOT 12
- ..\github.com\carted\graphql\language\printer\printer.go:372:9: undefined: ast.NullValue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql.