Skip to content

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.
@mfn mfn force-pushed the mfn-remove-type-aliases branch from 38ee06d to 2a1b3f5 Compare January 13, 2023 11:24
@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.

3 participants