-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: request and response mapping for inner/connector fetch nodes (#276
) * feat: request and response mapping for inner/connector fetch notes This change inspects subgraph requests from the inner query plan and constructs a vec of requests for the SubgraphConnector to call. It handles: * root fields (including aliased fields) * entity resolvers * fields on entities (by basically providing a stub entity resolver) For each request, we collect the info necessary for mapping the response (JSON selection transforms and key path). The response handling function applies this information to construct a single response from multiple JSON objects. --------- Co-authored-by: o0Ignition0o <jeremy.lempereur@gmail.com>
- Loading branch information
1 parent
0c946f8
commit a4f4cb5
Showing
12 changed files
with
1,536 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.