effect-app 4.0.0-beta.320 → 4.0.0-beta.321

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.
@@ -679,6 +679,7 @@ describe("SpecialJsonSchema", () => {
679
679
  dialect: "draft-2020-12",
680
680
  schema: {
681
681
  "type": "object",
682
+ "additionalProperties": true,
682
683
  "properties": {
683
684
  "status": { "type": "string" }
684
685
  }
@@ -713,6 +714,7 @@ describe("SpecialJsonSchema", () => {
713
714
  dialect: "draft-2020-12",
714
715
  schema: {
715
716
  "type": "object",
717
+ "additionalProperties": true,
716
718
  "properties": {
717
719
  "a": { "$ref": "#/$defs/X" },
718
720
  "b": { "$ref": "#/$defs/X" },
@@ -779,6 +781,7 @@ describe("SpecialJsonSchema", () => {
779
781
  dialect: "draft-2020-12",
780
782
  schema: {
781
783
  "type": "object",
784
+ "additionalProperties": true,
782
785
  "properties": {
783
786
  "a": { "$ref": "#/$defs/X" },
784
787
  "b": { "$ref": "#/$defs/X" },
@@ -1125,6 +1128,7 @@ describe("Post-processing integration — real Effect Schema types", () => {
1125
1128
  // null variant preserved (correct JSON Schema for NullOr)
1126
1129
  expect(doc.schema).toStrictEqual({
1127
1130
  type: "object",
1131
+ additionalProperties: true,
1128
1132
  properties: {
1129
1133
  note: {
1130
1134
  anyOf: [