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

DATAMONGO-1406 - Propagate PersistentEntity when mapping query criteria for nested keywords. #384

Closed
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Aug 23, 2016

Previously, query mapping of nested keywords combined with nested properties did not pass the PersistentEntity. That resulted in the usage of property names as field names instead of using configuration details of @Field.

The QueryMapper now propagates the PersistentEntity when mapping nested keywords. The criteria mapping chain for nested keywords and properties has now access to the PersistentEntity and can use configured field names.


Related ticket: DATAMONGO-1406

…rying nested fields in combination with nested keywords.

Prepare issue branch.
…ia for nested keywords.

Previously, query mapping of nested keywords combined with nested properties did not pass the PersistentEntity. That resulted in the usage of property names as field names instead of using configuration details of @field.

The QueryMapper now propagates the PersistentEntity when mapping nested keywords. The criteria mapping chain for nested keywords and properties has now access to the PersistentEntity and can use configured field names.
christophstrobl pushed a commit that referenced this pull request Aug 25, 2016
…ia for nested keywords.

We now propagate the PersistentEntity when mapping nested keywords so that the criteria mapping chain for nested keywords and properties has now access to the PersistentEntity and can use configured field names.

Previously the plain property names have been used as field names and potential customizations via @field have been ignored.

Original Pull Request: #384
christophstrobl pushed a commit that referenced this pull request Aug 25, 2016
…ia for nested keywords.

We now propagate the PersistentEntity when mapping nested keywords so that the criteria mapping chain for nested keywords and properties has now access to the PersistentEntity and can use configured field names.

Previously the plain property names have been used as field names and potential customizations via @field have been ignored.

Original Pull Request: #384
christophstrobl pushed a commit that referenced this pull request Aug 25, 2016
…ia for nested keywords.

We now propagate the PersistentEntity when mapping nested keywords so that the criteria mapping chain for nested keywords and properties has now access to the PersistentEntity and can use configured field names.

Previously the plain property names have been used as field names and potential customizations via @field have been ignored.

Original Pull Request: #384
@christophstrobl christophstrobl deleted the issue/DATAMONGO-1406 branch August 25, 2016 11:51
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

2 participants