Skip to content

NewtonSoft_Support - #39

Merged
prestoncraw merged 2 commits into
developmentfrom
RecordFilter_NewtonSoft
Aug 6, 2026
Merged

NewtonSoft_Support#39
prestoncraw merged 2 commits into
developmentfrom
RecordFilter_NewtonSoft

Conversation

@prestoncraw

Copy link
Copy Markdown
Contributor

Adds supports for JArray types in the SearchParameter

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds Newtonsoft.Json JArray handling to RecordFilter<T>.SearchParameter so UI-initiated search filters can accept JSON.NET array inputs and convert them into the internal object?[] form used for query restriction generation.

Changes:

  • Added a Newtonsoft.Json.Linq.JArray switch case in SearchParameter to convert JArray elements to typed values based on the target model property type.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Gemstone.Data/Model/RecordFilter.cs Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@prestoncraw
prestoncraw merged commit 9ec4c4c into development Aug 6, 2026
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.

3 participants