@reventlessdev/reventless-spec 3.0.0-alpha.87 → 3.0.0-alpha.88

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,13 @@
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
+ # 3.0.0-alpha.88 (2026-07-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **core:** a command's field markers reach the wire, and its optional fields stay optional ([f1c1112](https://github.com/ReventlessDev/reventless-core/commit/f1c1112e9baa6b06e50097a5a618f49c9301cd0a))
11
+
12
+
6
13
  # 3.0.0-alpha.87 (2026-07-30)
7
14
 
8
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-spec",
3
- "version": "3.0.0-alpha.87",
3
+ "version": "3.0.0-alpha.88",
4
4
  "description": "Specifications for Reventless",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -275,8 +275,10 @@ type queryableDef = {
275
275
  One emitted event of a write side, with its field schema. Mirrors `commandDef`
276
276
  but for the past-tense facts a write side produces: `name` is the event variant
277
277
  name (e.g. `OrderPlaced`), `schema` is the JSON Schema of that variant's payload
278
- (same `S.toJSONSchema` serialization as `commandDef.schema`, incl. `x-reventless-*`
279
- extensions and the `TAG` const), `references` its cross-entity field links.
278
+ (same serialization as `commandDef.schema`: `SuryToJsonSchema.deriveObjectSchema`,
279
+ so field-level `x-reventless-*` extensions are carried and the variant's `TAG`
280
+ discriminator is not — the constructor name is already `name`), `references` its
281
+ cross-entity field links.
280
282
  Carried so developer tools (the `reventless-dev` / VSCode domain graph) can show
281
283
  event field rows — AutoUI ignores it. */
282
284
  @schema