Skip to content

Defer MappingContext access inPersistentEntities #3310

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
mp911de opened this issue Jun 11, 2025 · 0 comments
Closed

Defer MappingContext access inPersistentEntities #3310

mp911de opened this issue Jun 11, 2025 · 0 comments
Assignees
Labels
type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented Jun 11, 2025

We should make use of the Iterable signature to lazily access mapping contexts.

See spring-projects/spring-data-rest#2489

@mp911de mp911de added the type: enhancement A general enhancement label Jun 11, 2025
@mp911de mp911de self-assigned this Jun 11, 2025
@mp911de mp911de added this to the 3.4.7 (2024.1.7) milestone Jun 11, 2025
mp911de added a commit that referenced this issue Jun 11, 2025
We now fetch mapping contexts from Iterable<MappingContext> later, when accessing PersistentEntities API to defer potential resolution when e.g. obtaining beans from a BeanFactory.

Closes #3310
mp911de added a commit that referenced this issue Jun 11, 2025
Extract method.

See #3310
mp911de added a commit that referenced this issue Jun 11, 2025
Extract method.

See #3310
mp911de added a commit that referenced this issue Jun 11, 2025
We now fetch mapping contexts from Iterable<MappingContext> later, when accessing PersistentEntities API to defer potential resolution when e.g. obtaining beans from a BeanFactory.

Closes #3310
mp911de added a commit that referenced this issue Jun 11, 2025
Extract method.

See #3310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant