-
Notifications
You must be signed in to change notification settings - Fork 272
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
Support JSONSelection in URIs and headers #6459
Draft
dylan-apollo
wants to merge
11
commits into
next
Choose a base branch
from
dylan/mapping-in-uris
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
# Conflicts: # apollo-federation/src/sources/connect/expand/mod.rs # apollo-federation/src/sources/connect/expand/tests/snapshots/[email protected] # apollo-federation/src/sources/connect/header.rs # apollo-federation/src/sources/connect/models.rs # apollo-federation/src/sources/connect/url_template.rs # apollo-federation/src/sources/connect/validation/graphql/strings.rs # apollo-federation/src/sources/connect/validation/snapshots/validation_tests@keys_and_entities__invalid__arg_is_object_but_field_is_not.graphql.snap # apollo-federation/src/sources/connect/variable.rs
✅ Docs Preview ReadyNo new or changed pages found. |
CI performance tests
|
# Conflicts: # apollo-router/src/plugins/connectors/http_json_transport.rs
pubmodmatt
requested changes
Dec 17, 2024
apollo-federation/src/sources/connect/validation/graphql/strings.rs
Outdated
Show resolved
Hide resolved
# Conflicts: # apollo-federation/src/sources/connect/header.rs # apollo-federation/src/sources/connect/variable.rs # apollo-router/src/plugins/connectors/http_json_transport.rs
pubmodmatt
reviewed
Dec 18, 2024
pubmodmatt
reviewed
Dec 18, 2024
pubmodmatt
reviewed
Dec 18, 2024
Converted back to draft because we shouldn't merge this until we're about ready to merge shape stuff as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This very large PR (sorry 😓) does a few things:
{ }
bits) in header values and URI templates are handled. This means that headers now are adopting the same breaking changes that URIs got last release: no arrays/objects allowed, nulls are empty stringsVariableReference
. This also means a lot of parsing code is now gone.As a result of those things, we lose some of the features that
VariableReference
were giving us. These will be handled in separate issues/PRs:$foo
) is used$
and the automatic stuff from itWe're also currently ignoring most of the errors that come from interpolating URIs/headers now—we'll want to add those into the Sandbox debugger in the future.