Skip to content

.Net: Bug: MEVD: Member field access doesn't work in filter translators #11673

Closed

Description

@westey-m

The following filter is failing with System.NotSupportedException : Member access for 'mystring' is unsupported - only member access over the filter parameter are supported

string mystring = "foo"
r => r.str == mystring

Activity

  1. changed the title [-]Bug: MEVD: CosmosDBNoSQL filter compare with string variable failing[/-] [+].Net: Bug: MEVD: CosmosDBNoSQL filter compare with string variable failing[/+] on Apr 22, 2025
  2. moved this to Sprint: Planned in Semantic Kernelon Apr 22, 2025
  3. roji commented on Apr 23, 2025

    @roji
    Member

    Repro test:

    private int _memberField = 8;
    
    [ConditionalFact]
    public virtual Task Member_field()
        => this.TestFilterAsync(
            r => r.Int == this._memberField,
            r => (int)r["Int"] == this._memberField);
  4. changed the title [-].Net: Bug: MEVD: CosmosDBNoSQL filter compare with string variable failing[/-] [+].Net: Bug: MEVD: Member field access doesn't work in filter translators[/+] on Apr 23, 2025
  5. moved this from Sprint: Planned to Sprint: In Progress in Semantic Kernelon Apr 26, 2025
  6. added 2 commits that reference this issue on Apr 26, 2025
    8e9ccb0
    5be053b
  7. moved this from Sprint: In Progress to Sprint: In Review in Semantic Kernelon Apr 28, 2025
  8. added 2 commits that reference this issue on Apr 29, 2025
    20f08ce
    be51b85
  9. moved this from Sprint: In Review to Sprint: Done in Semantic Kernelon May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codeBuildFeatures planned for next Build conferencebugSomething isn't workingmemory connectormsft.ext.vectordataRelated to Microsoft.Extensions.VectorData

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions