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

CSHARP-5506: Support Dictionary get_Item for keys that aren't strings but are serialized as strings. #1635

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rstam
Copy link
Contributor

@rstam rstam commented Mar 13, 2025

No description provided.

@rstam rstam requested review from sanych-sun and adelinowona March 13, 2025 01:14
@rstam rstam requested a review from a team as a code owner March 13, 2025 01:14
keyAst = keyTranslation.Ast;
}

var ast = AstExpression.GetField(dictionaryTranslation.Ast, keyAst); // TODO: verify that dictionary is using Document representation
Copy link
Member

@sanych-sun sanych-sun Mar 13, 2025

Choose a reason for hiding this comment

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

I think this TODO could be removed, as it was checked in line 119

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also refactored error checking quite a bit.

Copy link
Member

@sanych-sun sanych-sun left a comment

Choose a reason for hiding this comment

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

LGTM

@rstam rstam requested a review from sanych-sun March 19, 2025 21:39
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.

2 participants