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

Revert default value validation of input fields and arguments #929

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

SimonSapin
Copy link
Contributor

This turns out to break enough existing schemas (Router rejects them as invalid where it previously accepted them) that we consider it a breaking change.

See #928

This turns out to break enough existing schemas
(Router rejects them as invalid where it previously accepted them)
that we consider it a breaking change.

See #928
Copy link
Member

@goto-bus-stop goto-bus-stop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@@ -21,7 +21,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## Fixes
- **Validate against reserved names starting with `__` in schemas - [SimonSapin], [pull/923].**
- **Validate the default value of input fields and arguments - [SimonSapin], [pull/925].**
- **Fix duplicate diagnostic for variable with invalid default value - [SimonSapin], [pull/925].**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add this PR to the changelog entry too? if someone looks at 925 alone they might get the wrong impression

% Conflicts:
%	crates/apollo-compiler/CHANGELOG.md
@SimonSapin SimonSapin enabled auto-merge (squash) November 25, 2024 14:37
@SimonSapin SimonSapin merged commit c19585a into main Nov 25, 2024
12 checks passed
@SimonSapin SimonSapin deleted the revert-default-input-value-validation branch November 25, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants