You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow mixing ?? with || in wire definitions in any order (#96)
* Fix multi ??
* Migrate wire shape to unified fallbacks array (#98)
* Initial plan
* Migrate Wire type to unified fallbacks array, update runtime and gate tests
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
* Update resilience test assertions to use new fallbacks: WireFallback[] pattern
Replace old separate falsyFallback, falsyFallbackRefs properties with the
unified fallbacks array in test assertions.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Refactor parser to use unified fallbacks: WireFallback[] pattern
Replace all separate falsyFallback*/nullishFallback* properties across
~13 locations in parser.ts with a single fallbacks: WireFallback[] array.
Also update bridge-format.ts serializer and export WireFallback from
bridge-core.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Migrate codegen from separate falsy/nullish properties to unified fallbacks array
Update bridge-compiler codegen.ts and related test files to use the new
Wire.fallbacks?: WireFallback[] property instead of the old separate
falsyFallback/nullishFallback/falsyControl/nullishControl/falsyFallbackRefs/
nullishFallbackRefs properties.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add mixed wire chain tests, playground example, and changeset
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Migrate wire shape from separate `falsyFallback*`/`nullishFallback*` properties to a unified `fallbacks: WireFallback[]` array, enabling mixed `||` and `??` chains in any order (e.g. `A ?? B || C ?? D`).
0 commit comments