You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this is a bit edge case but it's valid for federation and I can't quite figure out how to achieve it. I would like to generate a schema like:
union _Entity = Shelf
type Books {
name: String!
shelf: Shelf
....
"Query root"
type Query {
_entities(representations: [_Any!]!): [_Entity]!
_service: _Service!
}
...
However with smallrye-graphql I need at least 1 query for it to build the schema and then invoke the Federation transformer to add the additional entities query that allows for this usecase. The only thing I can think of is that when it checks schema.hasOperations()) in Bootstrap.java it should also check to see if it will generate the entities query.
The text was updated successfully, but these errors were encountered:
Maybe this is a bit edge case but it's valid for federation and I can't quite figure out how to achieve it. I would like to generate a schema like:
However with smallrye-graphql I need at least 1 query for it to build the schema and then invoke the Federation transformer to add the additional
entities
query that allows for this usecase. The only thing I can think of is that when it checksschema.hasOperations())
inBootstrap.java
it should also check to see if it will generate theentities
query.The text was updated successfully, but these errors were encountered: