support mixing top-level fields from two different schemas
See original GitHub issueAfter a remote schema is added, currently Hasura does not allow mixing root fields from different schemas. Add support for it.
E.g:
query {
profile {
id
name
}
weather(city: "BLR") {
temperature
}
}
Here profile
is from Hasura schema (a table). And weather
is from a remote schema.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:23
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How do I support multiple top level namespaces in a single ...
You can combine multiple schemas with oneOf , and move the common elements into a definition referenced by both schemas:
Read more >Schema composition - Apollo GraphQL Docs
This is a useful solution when a type corresponds closely to an entry in a data store that one or more of your...
Read more >Combining multiple GraphQL backends with schema stitching
The main idea is simple: the different fields of a type may be distributed among several services as long as the corresponding subschemas...
Read more >Combining schemas - Ajv JSON schema validator
Combining schemas with $ref. You can structure your validation logic across multiple schema files and have schemas reference each other using $ref keyword....
Read more >Multiple Event Types in the Same Kafka Topic - Revisited
Schema Registry now supports schema references in Confluent Platform 5.5, and this blog post presents an alternative means of putting ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
is there an ETA for this?
Closed by #5869.