Skip to content

Make the query validator thread-safe since the validator is singleton #2817

Open

Description

@xuzhg

Need port the changes from 8 to 7, for example:

  1. Refactor FilterQueryValidator to make it thread safe AspNetCoreOData#820
  2. Enable custom query validato into SelectExpandQueryValidator AspNetCoreOData#800

Short summary (3-5 sentences) describing the issue.

Assemblies affected

*Which assemblies and versions are known to be affected e.g. OData WebApi lib 7.x

Currently, FilterQueryValidator has some private fields that make it not thread-safe.

We should refactor it to make FilterQueryValidator and other validator thread-safe.

Activity

  1. self-assigned this
    on Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions