Commit Graph

12 Commits

Author SHA1 Message Date
03a871bc1a filter synthesis: named value types get their own synthesized, referenced filter
Supersedes the inline-structural approach (0d282cc): inlining erased the value
type's name, so identical nested shapes (weekly_hours at two paths) generated
duplicate leaf types downstream and Dart barrel exports collided. Now a named
non-table value type's filter is synthesized ONCE (like table-backed boundaries)
and property references point at it — mirroring how the entity side generates
one class per named type. Same filter-by-fields capability; laziness also
removes the structural-recursion hazard. A named type with no compilable
structure still gets no filter and is omitted rather than dangled.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 20:04:16 -04:00
0d282cc930 filter synthesis: compile named non-table value types structurally
A property typed as a named value type (a schema-only config object like
an operating-hours schedule) previously got a dangling {type}.filter
reference — no filter is ever synthesized for a non-table-backed schema,
so the whole parent filter failed downstream (PROXY_TYPE_RESOLUTION_FAILED;
the punc generator emitted an empty filter type).

Naming a value type is a reuse choice, not a semantics choice: it now
compiles structurally into the parent filter, exactly like an inline
object, recursively (including array items). Table-backed boundaries keep
the lazy {type}.filter reference. A named type with no compilable
structure is omitted instead of dangling.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 19:23:54 -04:00
5af2399e3b fixed issue with filter generation where filters or conditions are used internally 2026-06-11 20:40:27 -04:00
ccca9129b2 added uuid.condition to filters 2026-05-21 19:03:31 -04:00
3034406706 fixing ordering checkpoint 2026-05-14 03:21:12 -04:00
c8757e1709 added filter base type 2026-04-24 12:53:28 -04:00
ec867f142f fixed more filtering issues and promoted enum condition generation 2026-04-24 11:53:54 -04:00
0093aea790 fixed nested filters 2026-04-24 10:48:38 -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
8ebf6a69bf updates 2026-04-17 17:20:07 -04:00
69bd726b25 more filter fixes 2026-04-17 07:43:19 -04:00
87a845e85a filters are now entities and auto-generated for all table backed types 2026-04-17 01:46:02 -04:00