Breaking change with deprecated fields not being included by default
See original GitHub issueIn 15.4.0 release, this change was merged which prevents deprecated field from being returned when fetching the schema by default. Because these fields were returned before, this is a breaking change for projects that use this to update a local file for their schema.
In our case, the schema is used by a linter and our CI is now blocked because some fields are not in the schema anymore, yet we still use them in some places.
Proposed solutions:
- Change
includeDeprecated’sdefaultValuetotrue - Or mark this change as breaking in the release notes
Happy to contribute to one of these options if the maintainers think it’s the way to go. Ping @IvanGoncharov since you worked on this recently.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Schema checks - Apollo GraphQL Docs
An existing field used by at least one operation had a default value added or changed. Non-breaking changes. These changes are detected by...
Read more >Deprecations by version - GitLab Docs
This is a breaking change. Review the details carefully before upgrading. The Phabricator task importer is being deprecated. Phabricator itself as a project...
Read more >Deprecated Fields, and Fields Marked as Obsolete
In the latest version of Business Central, a number of fields have been deprecated in the current release or marked to be obsolete...
Read more >Rules and categories | Buf®
Rules and categories. As discussed in the overview, buf categorizes breaking rules into four main categories: FILE : Generated source code breaking changes...
Read more >Versioning fields in GraphQL - LogRocket Blog
Whenever the change is non-breaking, as when adding a new type or field, we can apply it directly without fearing side effects.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@Betree I added a flag to include deprecated args in #2855 Plan to release it this week.
Yes, I forget to update
getInstrospectionQueryin my original PR and was to stubborn to actually check 🤦♂️ Working on a fix right now.