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

LINQ: Adds camelCase support to GetItemLinqQueryable() as optional parameter #2220

Merged
merged 12 commits into from
Feb 24, 2021

Conversation

asketagarwal
Copy link
Contributor

@asketagarwal asketagarwal commented Feb 16, 2021

Pull Request Template

Description

This PR adds a CosmosLinqSerializerOptions contract to GetItemLinqQueryable as an optional parameter API for converting property names to camelCase

Closing issues

To automatically close an issue: closes #1782, #1936, #2212

j82w
j82w previously approved these changes Feb 16, 2021
@kirankumarkolli kirankumarkolli dismissed their stale review February 23, 2021 18:33

Khoa comment on contract needs attention.

@asketagarwal asketagarwal changed the title LINQ: Adds camelCase flag to GetItemLinqQueryable() as optional parameter LINQ: Adds camelCase support to GetItemLinqQueryable() as optional parameter Feb 23, 2021
j82w
j82w previously approved these changes Feb 23, 2021
ealsur
ealsur previously approved these changes Feb 23, 2021
Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

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

I like the new options, seems better than having a boolean 👍

@j82w j82w merged commit ecce6cf into master Feb 24, 2021
@j82w j82w deleted the users/askagarw/LinqSeializerFix branch February 24, 2021 14:04
@khdang
Copy link
Member

khdang commented Feb 26, 2021

Thanks @asketagarwal for making this change.

@onionhammer
Copy link
Contributor

How does this address #1936?

@j82w
Copy link
Contributor

j82w commented Mar 3, 2021

@onionhammer I reopened it. Sorry, I got my issues mixed up and thought it was a camel case request.

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.

Going from SerializerOptions to a custom Serializer makes it impossible to read the data back
6 participants