Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

fix: more compatible definitions added by include_{defer,stream} #221

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

goto-bus-stop
Copy link
Member

There was a rather silly mistake in the @defer definition: it applies to fragment spreads, but I copy-pasted wrong and made it apply to fields instead. That's fixed now.

I also removed the doc comments from the definitions. The JS code did not add them and having them messes up the comparison between JS and Rust results in the router. If it's any use to have it, we can re-add it later when the JS implementation is gone.

There was a rather silly mistake in the `@defer` definition: it applies
to fragment spreads, but I copy-pasted wrong and made it apply to fields
instead. That's fixed here.

I also removed the doc comments from the definitions. The JS code did
not add them and having them messes up the comparison between JS and
Rust results in the router. If it's any use to have it, we can re-add it
later when the JS implementation is gone.
@goto-bus-stop goto-bus-stop merged commit adb0b4a into main Feb 21, 2024
7 checks passed
@goto-bus-stop goto-bus-stop deleted the renee/compatible-defer-stream-definitions branch February 21, 2024 18:02
SimonSapin pushed a commit to apollographql/router that referenced this pull request May 3, 2024
…pollographql/federation-next#221)

There was a rather silly mistake in the `@defer` definition: it applies
to fragment spreads, but I copy-pasted wrong and made it apply to fields
instead. That's fixed now.

I also removed the doc comments from the definitions. The JS code did
not add them and having them messes up the comparison between JS and
Rust results in the router. If it's any use to have it, we can re-add it
later when the JS implementation is gone.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants