Schema: avoid projecting checks and annotations through artificial JSON encodings, closes #7192 #18308
check.yml
on: pull_request
Lint
47s
Types
1m 36s
Build
1m 41s
Types on Deno
1m 30s
Bundle
2m 58s
Test on Bun
33s
Documentation Tests
1m 31s
AI Documentation Generation
38s
Circular Dependencies
37s
Matrix: Test
Annotations
14 errors and 21 warnings
|
Test (1/2, Node)
Process completed with exit code 1.
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Literal > bigint:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
+ description: 'a',
enum: [
'1'
],
type: 'string'
}
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"definitions": {},
"dialect": "draft-2020-12",
"schema": {
+ "description": "a",
"enum": [
"1",
],
"type": "string",
},
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:1776:7
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > ObjectKeyword:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
anyOf: [
...
],
+ description: 'a'
}
}
- Expected
+ Received
@@ -8,7 +8,8 @@
},
{
"type": "object",
},
],
+ "description": "a",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:1682:5
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Number > Number:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
anyOf: [
...
],
+ description: 'a'
}
}
- Expected
+ Received
@@ -13,7 +13,8 @@
"NaN",
],
"type": "string",
},
],
+ "description": "a",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:1415:7
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Undefined:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
+ description: 'a',
type: 'null'
}
}
- Expected
+ Received
{
"definitions": {},
"dialect": "draft-2020-12",
"schema": {
+ "description": "a",
"type": "null",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:822:5
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Void:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
+ description: 'a',
type: 'null'
}
}
- Expected
+ Received
{
"definitions": {},
"dialect": "draft-2020-12",
"schema": {
+ "description": "a",
"type": "null",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:802:5
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Unknown:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
+ schema: {
+ description: 'a'
+ }
- schema: {}
}
- Expected
+ Received
{
"definitions": {},
"dialect": "draft-2020-12",
- "schema": {},
+ "schema": {
+ "description": "a",
+ },
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:784:5
|
|
Test (1/2, Deno)
Process completed with exit code 1.
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Literal > bigint:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
+ description: 'a',
enum: [
'1'
],
type: 'string'
}
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"definitions": {},
"dialect": "draft-2020-12",
"schema": {
+ "description": "a",
"enum": [
"1",
],
"type": "string",
},
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:1776:7
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > ObjectKeyword:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
anyOf: [
...
],
+ description: 'a'
}
}
- Expected
+ Received
@@ -8,7 +8,8 @@
},
{
"type": "object",
},
],
+ "description": "a",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:1682:5
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Number > Number:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
anyOf: [
...
],
+ description: 'a'
}
}
- Expected
+ Received
@@ -13,7 +13,8 @@
"NaN",
],
"type": "string",
},
],
+ "description": "a",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:1415:7
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Undefined:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
+ description: 'a',
type: 'null'
}
}
- Expected
+ Received
{
"definitions": {},
"dialect": "draft-2020-12",
"schema": {
+ "description": "a",
"type": "null",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:822:5
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Void:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
schema: {
+ description: 'a',
type: 'null'
}
}
- Expected
+ Received
{
"definitions": {},
"dialect": "draft-2020-12",
"schema": {
+ "description": "a",
"type": "null",
},
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:802:5
|
|
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Unknown:
packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
definitions: {},
dialect: 'draft-2020-12',
+ schema: {
+ description: 'a'
+ }
- schema: {}
}
- Expected
+ Received
{
"definitions": {},
"dialect": "draft-2020-12",
- "schema": {},
+ "schema": {
+ "description": "a",
+ },
}
❯ deepStrictEqual test/utils/assert.ts:19:12
❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3
❯ test/schema/toJsonSchemaDocument.test.ts:784:5
|
|
Types:
packages/platform/node/src/NodeWorker.ts#L56
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Build:
packages/platform/node/src/NodeWorker.ts#L56
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
|
Bundle:
packages/platform/node/src/NodeWorker.ts#L56
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
bundle-stats
|
723 Bytes |
sha256:2279ac65f0a4b5ef8502726841182c8e5a89799c69d286dfd3e23624bc5073b6
|
|