-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
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
feat(federation): query plan correctness checker #6498
Conversation
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: a73096d5747ac8585d82eb71 |
@duckki, please consider creating a changeset entry in |
CI performance tests
|
a910d24
to
bcb23f4
Compare
2632b38
to
38bb635
Compare
apollo-federation/src/query_plan/correctness/response_shape_test.rs
Outdated
Show resolved
Hide resolved
- implemented ResponseShape computation from an operation
- comparison of two response shapes - query plans analysis, deriving plan's overall response shape
- instead of federation internal error
…ated data structures
…tions unnecessarily
e1bd353
to
294c280
Compare
- API schema is necessary to parse the input operation.
- support multiple nested TypenameEqual elements for FetchDataRewrite - added more error cases for sanity check
I have finished the first version (the completeness checking part) and rebased it on more recent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The core looks very good and inline with the design docs. I have some general cleanup comments
…ion. - So that the response_shape module has less dependencies.
Thanks, @TylerBloom . The refactored code looks so much better! |
@mergify queue |
🟠 Waiting for conditions to match
|
@mergify backport 1.x |
✅ Backports have been created
|
- This is the first version that implements the completeness part. (cherry picked from commit 1724f0f)
This PR implements the first version of the query plan correctness checker.
It implemented the completeness part of the plan. I'll create a separate PR for the soundness part.
Status