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.

support mixing top-level fields from two different schemas

See original GitHub issue

After 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:closed
  • Created 5 years ago
  • Reactions:23
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
havsarcommented, Apr 27, 2020

is there an ETA for this?

0reactions
abooijcommented, Oct 30, 2020

Closed by #5869.

Read more comments on GitHub >

github_iconTop 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 >

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 Hashnode Post

No results found