Skip to content

Conversation

@KhaosVoid
Copy link
Owner

Updated FieldName validation logic to now match against expected Regex patterns. Valid/Invalid field names are still generated from a property tree, however the field names are stored as Regex patterns.

Also addressed issue with validating field names that defined an array indexer in the path.

Changed the SortingFields and Filters properties to be nullable to avoid MVC validation superseding Fluent Validation. This prevents the MVC "property is required" error when a request does have any of the properties present in the request.

…x patterns. Valid/Invalid field names are still generated from a property tree, however the field names are stored as Regex patterns.

Also addressed issue with validating field names that defined an array indexer in the path.

Changed the SortingFields and Filters properties to be nullable to avoid MVC validation superseding Fluent Validation. This prevents the MVC "property is required" error when a request does have any of the properties present in the request.
@KhaosVoid KhaosVoid merged commit 362dbb3 into main Nov 23, 2024
1 check passed
@KhaosVoid KhaosVoid deleted the KV/SearchQueryFixes branch November 23, 2024 20:23
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