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

Adding camel case serialization on LINQ query generation #716

Merged
merged 5 commits into from
Aug 26, 2019

Conversation

simplynaveen20
Copy link
Member

@simplynaveen20 simplynaveen20 commented Aug 16, 2019

Pull Request Template

Description

This PR will help fixing issue where LINQ query generation was not entertaining the camel case option passed as serialization option during client creation.
So the item created with the camel case serialization where not able to retrieved from LINQ query.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Closing issues

#570

Note : User need to explicitly set CosmosSerializationOptions on clientOption( .WithSerializerOptions()). having PropertyNamingPolicy = CosmosPropertyNamingPolicy.CamelCase.
WithCustomSerializer() method wont work in this case.

@simplynaveen20 simplynaveen20 added the bug Something isn't working label Aug 16, 2019
@simplynaveen20 simplynaveen20 self-assigned this Aug 16, 2019
@kirankumarkolli
Copy link
Member

Please get sign-off from @khdang

khdang
khdang previously approved these changes Aug 23, 2019
Copy link
Member

@khdang khdang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants