Skip to content

MongoPersistentEntityIndexResolver should not traverse Map-like properties #3914

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 Dec 16, 2021 · 0 comments
Labels
in: mapping Mapping and conversion infrastructure type: documentation A documentation update type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

Setting up indices on Map like structures requires the map key, which cannot be resolved based on the plain type information to be part of the index. Therefore, traversal should not follow the path of the map value type to set up indices that might not be effective within the store.

Relates to: #3869

@christophstrobl christophstrobl added type: documentation A documentation update in: mapping Mapping and conversion infrastructure type: enhancement A general enhancement labels Dec 16, 2021
@mp911de mp911de added this to the 3.3.1 (2021.1.1) milestone Jan 12, 2022
mp911de pushed a commit that referenced this issue Jan 12, 2022
This commit makes sure to exclude Map like structures from index inspection unless annotated with WilcardIndexed.

Closes #3914, closes #3901
Original pull request: #3915.
mp911de added a commit that referenced this issue Jan 12, 2022
Reformat code. Tweak documentation wording and callout syntax.

See #3914, see #3901
Original pull request: #3915.
mp911de added a commit that referenced this issue Jan 12, 2022
Reformat code. Tweak documentation wording and callout syntax.

See #3914, see #3901
Original pull request: #3915.
@mp911de mp911de changed the title MongoPersistentEntityIndexResolver should not traverse Map structures. MongoPersistentEntityIndexResolver should not traverse Map-like properties Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: mapping Mapping and conversion infrastructure type: documentation A documentation update type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants