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

feat: remove backward compatible code and warnings #730

Merged
merged 3 commits into from
Dec 14, 2020
Merged

Conversation

Weakky
Copy link
Member

@Weakky Weakky commented Dec 14, 2020

BREAKING CHANGES:

  • Legacy resolveType is no longer part of the API
  • Legacy scalar shorthands are no longer supported
  • declarativeWrappingPlugin is no longer enabled by default. Errors will be thrown wherever the legacy API is used.
  • ScalarInputFieldConfig type is removed

I intentionally kept the errors in places where the code path wasn't entirely removed. In these cases, warnings were replaced by throws. Lemme know if you wanna remove the code entirely.

BREAKING CHANGES:
- Legacy resolveType is no longer part of the API
- Legacy scalar shorthand is not longer possible
- declarativeWrappingPlugin is no longer built-in
- ScalarInputFieldConfig type is removed
@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #730 (d9b350d) into main (80ad531) will increase coverage by 0.18%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #730      +/-   ##
==========================================
+ Coverage   93.58%   93.77%   +0.18%     
==========================================
  Files          46       46              
  Lines        2930     2922       -8     
  Branches      688      688              
==========================================
- Hits         2742     2740       -2     
+ Misses        186      180       -6     
  Partials        2        2              

Copy link
Contributor

@jasonkuhrt jasonkuhrt left a comment

Choose a reason for hiding this comment

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

LGTM!

@Weakky Weakky merged commit 78b8b08 into main Dec 14, 2020
@Weakky Weakky deleted the feat/remove-warnings branch December 14, 2020 17:17
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.

3 participants