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

❗BREAKING CHANGE❗️ Remove optional support for non-lazy loading of types #966

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

mfn
Copy link
Collaborator

@mfn mfn commented Jan 7, 2023

Summary

Lazy loading has been introduced in 2.0.0 (2019-08) and has been enabled by default in 8.0.0 (2021-11).

From now on the type loader is always used when resolving types and the impact mostly means that you can't have types registered using an alias different from their name.

As can be seen by th commit, this reduces complexity and maintenance overhead of the library.

Notes

I extracted this commit from #953 to make it more stand out and emphasize this was not a random change. But PR #953 won't be rebased to exclude it, so the history might look "a bit weird".


Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Misc. change (internal, infrastructure, maintenance, etc.)

Checklist:

  • Existing tests have been adapted and/or new tests have been added
  • Add a CHANGELOG.md entry
  • Update the README.md
  • Code style has been fixed via composer fix-style

@mfn mfn self-assigned this Jan 7, 2023
@mfn mfn added this to the 9.0.0 milestone Jan 7, 2023
Lazy loading has been introduced in 2.0.0 (2019-08) and has
been enabled by default in 8.0.0 (2021-11).

From now on the type loader is always used when resolving
types and the impact mostly means that you can't have
types registered using an alias different from their
name.

As can be seen by th commit, this reduces complexity and
maintenance overhead of the library.
@websitevirtuoso
Copy link
Contributor

Let's merge it

@mfn mfn merged commit c05c2de into master Mar 5, 2023
@mfn mfn deleted the mfn-remove-type-aliases branch June 26, 2023 18:10
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.

None yet

3 participants