@reventlessdev/online-shop-hybrid-ordering 1.0.0-alpha.250 → 1.0.0-alpha.252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 1.0.0-alpha.252 (2026-09-24)
7
+
8
+ ### Features
9
+
10
+ * **dcb:** a command reference no decision reads by stays out of the query ([3ae149a](https://github.com/ReventlessDev/reventless-core/commit/3ae149ae91ebab63413be57df5827c5fd4390160))
11
+
12
+
13
+ # 1.0.0-alpha.251 (2026-09-24)
14
+
15
+ ### Features
16
+
17
+ * **dcb:** a command reference no decision reads by stays out of the query ([3ae149a](https://github.com/ReventlessDev/reventless-core/commit/3ae149ae91ebab63413be57df5827c5fd4390160))
18
+
19
+
6
20
  # 1.0.0-alpha.250 (2026-09-23)
7
21
 
8
22
  **Note:** Version bump only for package @reventlessdev/online-shop-hybrid-ordering
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/online-shop-hybrid-ordering",
3
- "version": "1.0.0-alpha.250",
3
+ "version": "1.0.0-alpha.252",
4
4
  "description": "Online Shop Hybrid example — Ordering plugin (Customer aggregate + Order/CatalogProduct DCB)",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -21,20 +21,20 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "sury": "11.0.0",
24
- "@reventlessdev/online-shop-hybrid-catalog-spec": "1.0.0-alpha.141",
24
+ "@reventlessdev/online-shop-hybrid-ordering-spec": "1.0.0-alpha.142",
25
+ "@reventlessdev/online-shop-hybrid-catalog-spec": "1.0.0-alpha.143",
26
+ "@reventlessdev/reventless-gwt": "1.0.0-alpha.221",
25
27
  "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22",
26
- "@reventlessdev/online-shop-hybrid-ordering-spec": "1.0.0-alpha.140",
27
- "@reventlessdev/reventless-gwt": "1.0.0-alpha.219",
28
- "@reventlessdev/reventless-infra": "3.0.0-alpha.172",
29
- "@reventlessdev/reventless-local": "3.0.0-alpha.262",
30
- "@reventlessdev/reventless-spec": "3.0.0-alpha.144",
31
- "@reventlessdev/trait-notification": "1.0.0-alpha.21",
32
- "@reventlessdev/trait-address-geocoding": "1.0.0-alpha.21"
28
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.174",
29
+ "@reventlessdev/reventless-local": "3.0.0-alpha.264",
30
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.146",
31
+ "@reventlessdev/trait-address-geocoding": "1.0.0-alpha.23",
32
+ "@reventlessdev/trait-notification": "1.0.0-alpha.23"
33
33
  },
34
34
  "devDependencies": {
35
35
  "rescript": "12.3.1",
36
36
  "sury-ppx": "11.0.0",
37
- "@reventlessdev/reventless-ppx": "1.0.0-alpha.89"
37
+ "@reventlessdev/reventless-ppx": "1.0.0-alpha.92"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "rescript": "^12.3.1"
@@ -69,12 +69,13 @@ type lineItem = {
69
69
  type command =
70
70
  | PlaceOrder({
71
71
  orderId: OrderId.t,
72
- // customerId is payload, not a query key — @noDcbTag stops it auto-tagging.
72
+ // customerId is payload, not a query key: nothing here is decided per
73
+ // customer, so it stays out of the decision query without an annotation.
73
74
  // It is also the order's owner: the resolver overwrites this with the
74
75
  // authenticated caller's id before the command is published, so what a
75
76
  // client sends here is ignored rather than trusted. An operator placing an
76
77
  // order on someone's behalf is exempt and keeps the value they sent.
77
- @noDcbTag @owner customerId: CustomerId.t,
78
+ @owner customerId: CustomerId.t,
78
79
  lineItems: array<lineItem>,
79
80
  shippingMethod: shippingMethod,
80
81
  // A requested delivery slot, chosen at checkout. An optional field — a
@@ -59,7 +59,7 @@ let lineItemSchema = Sury.$schema(s => ({
59
59
  let commandSchema = Sury.$schema(s => ({
60
60
  TAG: "PlaceOrder",
61
61
  orderId: s.m(DcbTag$Reventless.mark(OrderId$OrderingPlugin.schema)),
62
- customerId: s.m(Owner$Reventless.mark(CustomerId$OrderingPlugin.schema)),
62
+ customerId: s.m(Owner$Reventless.mark(DcbTag$Reventless.mark(CustomerId$OrderingPlugin.schema))),
63
63
  lineItems: s.m(Sury.array(lineItemSchema)),
64
64
  shippingMethod: s.m(shippingMethodSchema),
65
65
  deliveryWindow: s.m(Sury.$option(DateRange$Reventless.schema))