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

Fix alias serialization for MongoDB #1451

Merged
merged 1 commit into from Jul 22, 2015
Merged

Fix alias serialization for MongoDB #1451

merged 1 commit into from Jul 22, 2015

Conversation

jotak
Copy link
Contributor

@jotak jotak commented Jul 22, 2015

Forward PR #1428 to branch QUERYDSL_3


Fixes #1427 + add junit tests:

When querying for QFood.food.as(QFish.class).breed.eq("unknown")

I expect to see { "name" : "f1" , "breed" : "unknown"}

rather than { "name" : "f1" , "food.breed" : "unknown"}

Note this is my first commit on querydsl, so I hope I have a correct understanding of what "PathType.DELEGATE" is and how it should be interpreted.

@Shredder121
Copy link
Member

Thank you, since the main PR was already accepted we'll only wait for the build to pass.

johnktims added a commit that referenced this pull request Jul 22, 2015
Fix alias serialization for MongoDB
@johnktims johnktims merged commit 82e2618 into querydsl:QUERYDSL_3 Jul 22, 2015
@johnktims
Copy link
Member

Thanks for backporting this fix, @jotak.

@jotak
Copy link
Contributor Author

jotak commented Jul 22, 2015

you're welcome

@timowest timowest added this to the 3.6.6 milestone Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants