Skip to content

Add infrastructure to provide/identify managed types. #2634

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

Closed
christophstrobl opened this issue May 17, 2022 · 0 comments
Closed

Add infrastructure to provide/identify managed types. #2634

christophstrobl opened this issue May 17, 2022 · 0 comments
Assignees
Labels
theme: aot An issue related to Ahead-Of-Time processing type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

The MappingContext allows to define a set of initial entities used to compute metadata early instead of first encounter. Those types are identified in multiple ways, depending if set by the user, boot or data itself. The latter two make use of the identifying annotations provided by the store module implementation.
Being buried within the mapping context, potential AOT processing is hardly possible.

Desired State:

  • Each store registers a bean holding references to the type names it needs to know about if not provided externally
  • Mapping context obtains the bean and uses the given types to initialize the mapping context.
  • Public infrastructure that does the entity scanning so we do not have different implementations in data and boot.
@christophstrobl christophstrobl self-assigned this May 17, 2022
@christophstrobl christophstrobl linked a pull request May 18, 2022 that will close this issue
mp911de added a commit that referenced this issue Jun 14, 2022
Add assertions, refine Javadoc.

Original pull request: #2635.
See #2634.
mp911de added a commit that referenced this issue Jun 14, 2022
…ion`.

This is a breaking change as many modules implement a protected method. We're going to change this later with #2644.

Original pull request: #2635.
See #2634.
@mp911de mp911de added type: enhancement A general enhancement theme: aot An issue related to Ahead-Of-Time processing labels Jun 14, 2022
@mp911de mp911de added this to the 3.0 M5 (2022.0.0) milestone Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-Of-Time processing type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants