Conversation
🦋 Changeset detectedLatest commit: 9d0f23d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bridge | 9d0f23d | Commit Preview URL Branch Preview URL |
Mar 05 2026, 05:47 PM |
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
?. + chained || literal fallback parsing to preserve left-to-right short-circuit semantics
|
version 1.5 bridge Query.lookup { o.label <- const.lorem.kala || const.lorem.ipsums?.mees || "B" ?? "C" now the answer is B, right?
===== you forgot to add a changeset as this needs to be released to users also |
Co-authored-by: aarne <82001+aarne@users.noreply.github.com>
Yes — with strict left-to-right evaluation, that expression resolves to Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
source?.path || "A" || "B"was resolving to"B"instead of"A"in cases where the safe pull producedundefined. The parser was collapsing chained||alternatives in a way that lost first-truthy behavior for literal fallbacks.Problem scope
?.) correctly converts source errors toundefined, but chained||literal fallbacks were not preserving authored short-circuit order.Parser behavior update (
packages/bridge-parser/src/parser/parser.ts)nullAlt(||) alternatives for a wire:Regression coverage (
packages/bridge/test/coalesce-cost.test.ts)||and??:const.lorem.kala || const.lorem.ipsums?.mees || "B" ?? "C"resolves to"B".Expected result for
o.label:"A"..changeset/tough-cups-smoke.md@stackables/bridgeand@stackables/bridge-parser.> [!WARNING]
>
>
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.