Repository navigation
fix(core)!: make query filter merges conjunctive #890
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
Changes from all commits
ffd9e76
7cbfffd
4e178d3
b031cfd
f9e91f1
6502412
44a554a
75f8706
7925ff0
71e7f28
5db85be
1f14191
e9fbf95
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,12 +52,12 @@ Changes to `@rapiq/core` affect every other package. | |
| packages/core/src/ | ||
| ├── parameter/ # Query AST node classes + visitor interfaces | ||
| │ ├── fields/ # Fields/Field (include/exclude operators) | ||
| │ ├── filters/ # Filters (compound and/or) + Filter (field-op-value condition) | ||
| │ ├── filters/ # Filters (compound and/or) + Filter (field-op-value condition); CONDITION_MARKER/Condition identity and preserve() pruning wrapper | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Document
As per coding guidelines, keep this file and all corresponding files in 🤖 Prompt for AI AgentsSource: Coding guidelines |
||
| │ │ └── helpers/ # typed condition helpers (eq, gte, inArray, and, or, …) | ||
| │ ├── pagination/ # Pagination (limit/offset) | ||
| │ ├── relations/ # Relations/Relation | ||
| │ ├── sorts/ # Sorts/Sort (asc/desc) | ||
| │ ├── merge.ts # mergeQueries (left-priority IR merge; per-node merge/and/or methods live on the node classes) | ||
| │ ├── merge.ts # mergeQueries: keyed left priority for fields/relations/sorts, per-property pagination, monotonic filter conjunction | ||
| │ └── module.ts # Query, IQueryVisitor (queries are built via defineQuery or parsed) | ||
| ├── build/ # typed build layer: defineQuery + per-parameter define* factories | ||
| │ └── parameter/ # Build*Input types + defineFields/defineFilters/… (schema-free, direct-to-AST) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.