Skip to content

ParentIDFilterFix - #39

Merged
prestoncraw merged 1 commit into
developmentfrom
ParentIDFilterFix
Aug 6, 2026
Merged

ParentIDFilterFix#39
prestoncraw merged 1 commit into
developmentfrom
ParentIDFilterFix

Conversation

@prestoncraw

Copy link
Copy Markdown
Contributor

Fixes issue with parentID filters not being appended

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

Fixes a bug in ReadOnlyModelController where the parentID filter was not actually being applied because Enumerable.Append(...) returns a new sequence and does not mutate the existing filter collection.

Changes:

  • Assigns the result of filters.Append(...) back to filters so the parent filter is included.
  • Materializes the appended filter sequence via ToArray() to preserve the expected RecordFilter<T>[] type passed into query/count operations.

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

@prestoncraw
prestoncraw merged commit 02a77d0 into development Aug 6, 2026
1 check passed
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