@reventlessdev/reventless-infra 3.0.0-alpha.105 → 3.0.0-alpha.106

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.106 (2026-07-27)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **api:** don't inject id: ID! into multi-variant DCB slice mutations ([03cfaad](https://github.com/ReventlessDev/reventless-core/commit/03cfaadce3bee3d7010835edc10f57ab45ddfa5b))
11
+
12
+
6
13
  # 3.0.0-alpha.105 (2026-07-26)
7
14
 
8
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-infra",
3
- "version": "3.0.0-alpha.105",
3
+ "version": "3.0.0-alpha.106",
4
4
  "description": "Infrastructure types for Reventless framework",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -16,8 +16,8 @@
16
16
  "sury": "11.0.0-alpha.4",
17
17
  "sury-ppx": "11.0.0-alpha.2",
18
18
  "uuid": "^13.0.0",
19
- "@reventlessdev/rescript-uuid": "1.1.0-alpha.17",
20
19
  "@reventlessdev/rescript-effect": "0.1.0-alpha.31",
20
+ "@reventlessdev/rescript-uuid": "1.1.0-alpha.17",
21
21
  "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17",
22
22
  "@reventlessdev/reventless-spec": "3.0.0-alpha.81"
23
23
  },
@@ -67,6 +67,18 @@ type mutationSchemaEntry = {
67
67
  the IAM principal must be scoped by the API resource policy / deploy-role
68
68
  policy (see `docs/guides/appsync-iam-system-caller.md`). Default `false`. */
69
69
  systemCallable?: bool,
70
+ /** Whether the generated mutation field carries a separate `id: ID!` argument
71
+ naming the target entity, injected ahead of the command payload args.
72
+ `true` for aggregate mutations — the aggregate instance id is a real
73
+ argument distinct from the command payload (e.g.
74
+ `Ordering_Customer_Register(id: ID!, email: String!, ...)`), and callers
75
+ send it as `id`. `false` for DCB slice / inbound-translation mutations —
76
+ the slice's own key field (e.g. `orderId`) is part of the payload and no
77
+ separate `id` argument exists. Defaults to `true` so aggregate entries
78
+ (including the admin Plugin fragment) keep the injection without opting in.
79
+ A multi-variant slice command schema is a sury `Union`, so without this
80
+ flag it would wrongly inherit the aggregate-style `id: ID!` injection. */
81
+ injectIdArg?: bool,
70
82
  description?: string,
71
83
  linkedViews?: array<string>,
72
84
  consistencyRead?: string,