Skip to content
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

fix(federation): Federation errors should not return invalid locations #1990

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

Per GraphQL spec error location should only be specified IF it can point to a valid location (i.e. starting with positive column/row). We were incorrectly returning -1,-1 location.

🔗 Related Issues

Per GraphQL spec error location should only be specified IF it can point to a valid location (i.e. starting with positive column/row). We were incorrectly returning `-1,-1` location.
@dariuszkuc dariuszkuc added type: bug Something isn't working changes: patch Changes require a patch version labels Jun 27, 2024
Copy link

github-actions bot commented Jun 27, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

@dariuszkuc dariuszkuc merged commit 7165366 into master Jun 27, 2024
10 checks passed
@dariuszkuc dariuszkuc deleted the fix_fed_errors branch June 27, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version type: bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants