c4bf6bde58
added limit 1 to arrays treated as a single value in schemas
2026-07-16 13:43:08 -04:00
b49b216b36
fix(queryer): restrict polymorphic bounds compiler to forward edges only
...
Resolves a query compilation bug in JSPG where reverse/incoming polymorphic
edges (where edge.forward == false, e.g. pet ➡️ cover_attachment) mistakenly
appended the destination type constraint to the parent query's WHERE clause
(e.g., producing `entity_1.type = 'attachment'` on a pet entity query,
causing it to match 0 rows and return null).
- Modifies `compile_polymorphic_bounds` in `compiler.rs` to only compile
type checks when `edge.forward` is true. For reverse edges, the parent's
type check does not belong on the parent table and is already implicitly
restricted by parent ID joins.
- Updates the `fk_attachment_attachable_entity` relation in the queryer test
fixture to correctly model a two-column polymorphic relation, ensuring
this code path is exercised by the unit test suite.
2026-07-14 16:02:41 -04:00
6220a0964d
fixed proxy references without null option not being treated as proxies
2026-07-09 18:47:12 -04:00
3bb7eb312a
generator checkpoint
2026-07-09 14:26:45 -04:00
d77765cb61
jspg error refactoring checkpoint
2026-06-23 17:03:27 -04:00
ea03584bbd
re-applied fix for family in conditions
2026-05-28 14:54:57 -04:00
b0fc6c12ef
fixed queryer issue with nested families
2026-05-21 13:26:07 -04:00
ce9c9baac9
fixing ordering checkpoint
2026-05-14 03:26:03 -04:00
3034406706
fixing ordering checkpoint
2026-05-14 03:21:12 -04:00
98e7f5da12
fixed oneOf case queryer issue with resolving the table alias
2026-04-28 15:07:01 -04:00
4e2cb488cc
removed schema realms, fixed fixture generations, added dynamic type resolution for validation based on type and kind discriminators for filters
2026-04-21 10:50:01 -04:00
f450f8ab8b
added realm to jspg processing
2026-04-17 18:25:14 -04:00
69bd726b25
more filter fixes
2026-04-17 07:43:19 -04:00
509194b55f
in, nin to of, nof for go and dart generator compatibility
2026-04-17 02:24:03 -04:00
a3bd79deef
jspg stabilized again
2026-04-15 03:08:11 -04:00
24adf3ffc6
checkpoint
2026-04-14 13:06:53 -04:00
609371c03c
fixed drop errors for database initialization
2026-04-14 09:36:04 -04:00
0017c598e1
chore: JSPG Engine tuple decoupling and core routing optimizations
2026-04-13 22:41:32 -04:00
be78af1507
more tests
2026-04-10 01:06:02 -04:00
3cca5ef2d5
checkpoint
2026-04-09 19:55:35 -04:00
5f45df6c11
checkpoint
2026-04-09 18:39:52 -04:00
7c8df22709
massively improves the jspg validator by removing mathmatical functions like allOf, anyOf, ref, etc to effectively use discriminators and OOP with types to determine valid pathing an nno intersections, unions, or guesswork; added cases to replace the former conditionals
2026-04-08 13:08:24 -04:00
e4286ac6a9
validation progress
2026-04-03 19:24:21 -04:00
06f6a587de
progress
2026-04-02 21:55:57 -04:00
76467a6fed
log cleanup
2026-03-27 19:19:27 -04:00
f5bf21eb58
fixed root array queries
2026-03-25 21:37:01 -04:00
ffd6c27da3
more pg try catching and error handling
2026-03-25 19:31:51 -04:00
f87ac81f3b
pre-script-fix
2026-03-23 16:34:45 -04:00
10c57e59ec
fixed nested filtering syntax
2026-03-23 14:37:22 -04:00
29bd25eaff
fixed filter override for archived
2026-03-23 12:49:30 -04:00
882bdc6271
merger now requires a schema id, queryer and merger now use pre-compiled edges for O(1) relations
2026-03-21 20:33:28 -04:00
9255439d53
added support for root schema compiled properties for the mixer
2026-03-20 18:04:49 -04:00
847e921b1c
stems removed from queryer
2026-03-18 22:04:29 -04:00
94d011e729
merger payload issue when errors
2026-03-18 05:03:35 -04:00
00375c2926
more fixes
2026-03-18 04:39:48 -04:00
330280ba48
queryer fixes
2026-03-18 02:41:56 -04:00
091007006d
queryer fixes in place
2026-03-17 22:13:34 -04:00
3d66a7fc3c
queryer test checkpoit
2026-03-17 18:00:36 -04:00
e1314496dd
queryer test checkpoint
2026-03-17 15:06:02 -04:00
c2c0e62c2d
queryer fixes checkpoint
2026-03-17 05:12:03 -04:00
d8fc286e94
better error dropping
2026-03-16 19:39:24 -04:00
5d11c4c92c
jspg query with familties fixes
2026-03-16 06:07:13 -04:00
db5183930d
queryer supports subfiltering now
2026-03-15 07:49:05 -04:00
6632570712
merger improvements
2026-03-15 03:24:00 -04:00
6a275e1d90
stems fixes and tests
2026-03-13 01:17:27 -04:00
732034bbc7
more tests progress
2026-03-12 17:46:38 -04:00
44be75f5d4
queryer merger test progress
2026-03-11 05:18:01 -04:00
1c08a8f2b8
query test progress
2026-03-10 18:25:29 -04:00
566b599512
all jspg tests now passing
2026-03-04 01:02:32 -05:00
3898c43742
validator refactor progress
2026-03-03 00:13:37 -05:00