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

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

Open
xuzhg opened this issue Nov 7, 2023 · 0 comments
Open

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

xuzhg opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@xuzhg
Copy link
Member

xuzhg commented Nov 7, 2023

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.

@xuzhg xuzhg self-assigned this Nov 7, 2023
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

No branches or pull requests

1 participant