Skip to content

.Net: MEVD data type tests #12567

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

Merged
merged 2 commits into from
Jul 7, 2025
Merged

.Net: MEVD data type tests #12567

merged 2 commits into from
Jul 7, 2025

Conversation

roji
Copy link
Member

@roji roji commented Jun 23, 2025

Closes #12505

@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Jun 23, 2025
@github-actions github-actions bot changed the title MEVD data type tests .Net: MEVD data type tests Jun 23, 2025
@roji roji temporarily deployed to integration June 24, 2025 05:49 — with GitHub Actions Inactive
@roji roji temporarily deployed to integration June 24, 2025 06:40 — with GitHub Actions Inactive
@roji roji marked this pull request as ready for review June 24, 2025 07:24
@roji roji requested a review from a team as a code owner June 24, 2025 07:24
@roji roji requested review from dmytrostruk and westey-m June 24, 2025 07:25
@roji roji temporarily deployed to integration June 24, 2025 13:36 — with GitHub Actions Inactive
@@ -28,7 +28,7 @@ protected override bool IsKeyPropertyTypeValid(Type type, [NotNullWhen(false)] o

protected override bool IsDataPropertyTypeValid(Type type, [NotNullWhen(false)] out string? supportedTypes)
{
supportedTypes = "bool, string, int, long, float, double, decimal, string[]/List<string>";
supportedTypes = "bool, string, int, long, float, double, string[]/List<string>";
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you send me a list of types we are adding/removing support for so that I can also update the docs?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hey, sorry it took so long to do this. I generally tried to avoid making changes in this PR (but rather only to add tests), but here are changes I did (hopefully I didn't miss anything):

  • Pinecone: remove decimal
  • Redis: remove bool
  • SQL Server: add DateOnly

In addition, the tests caught various trivial missing stuff which I added, so various types which weren't fully supported before (especially in LINQ filters) should now work properly.

@roji roji added this pull request to the merge queue Jul 7, 2025
Merged via the queue into microsoft:main with commit 9f33c90 Jul 7, 2025
19 checks passed
@roji roji deleted the TypeTests branch July 7, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.Net: [MEVD] Data type tests
3 participants