We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given following schemas
// subgraph A type Query { a: A @shareable } interface A { x: Int } type I1 implements A { x: Int i1: Int }
// subgraph B type Query { a: A @shareable } interface A { x: Int } type I2 implements A { x: Int i2: Int }
// subgraph A type Query { e: E! @shareable } type E @key(fields: "id") { id: ID! s: U! @shareable } union U = A | B type A { a: Int } type B { b: Int }
// subgraph B type E @key(fields: "id") { id: ID! s: U! @shareable } union U = C | D type C { c: Int } type D { d: Int }
Both examples above should result in a satisfiability error.
Apollo tests: link
The text was updated successfully, but these errors were encountered:
What is meant by "non-intersecting" here? I1 and I2 intersect on field x – must they have exactly the same set of fields?
I1
I2
x
It's possible that this could be implemented as a post-merge validation rule instead of a satisfiability validation rule.
For the union example, there's no intersection of member types, so I don't think that the union type would be merged?
Sorry, something went wrong.
No branches or pull requests
Given following schemas
Both examples above should result in a satisfiability error.
Apollo tests: link
The text was updated successfully, but these errors were encountered: