alkondaurov@C16820 sheldon % bun run dist/handler.js
4115 | decode: toData,
4116 | encode: a => Array.isArray(a) ? Array.from(a) : Object.assign({}, a)
4117 | });
4118 | const isField = u => isSchema(u) || isPropertySignature(u);
4119 | const isFields = fields => util_.ownKeys(fields).every(key => isField(fields[key]));
4120 | const getFields = hasFields => "fields" in hasFields ? hasFields.fields : getFields(hasFields[refineTypeId]);
^
TypeError: hasFields is not an Object. (evaluating '"fields" in hasFields')
at getFields (/Users/alkondaurov/projects/ak/sheldon/node_modules/.pnpm/@[email protected][email protected]/node_modules/@effect/schema/dist/esm/Schema.js:4120:44)
at getSchemaFromFieldsOr (/Users/alkondaurov/projects/ak/sheldon/node_modules/.pnpm/@[email protected][email protected]/node_modules/@effect/schema/dist/esm/Schema.js:4121:122)
at /Users/alkondaurov/projects/ak/sheldon/node_modules/.pnpm/@[email protected][email protected]/node_modules/@effect/schema/dist/esm/Schema.js:4130:11
at /Users/alkondaurov/projects/ak/sheldon/dist/handler.js:82457:81
alkondaurov@C16820 sheldon % bun run dist/handler.js
4115 | decode: toData,
4116 | encode: a => Array.isArray(a) ? Array.from(a) : Object.assign({}, a)
4117 | });
4118 | const isField = u => isSchema(u) || isPropertySignature(u);
4119 | const isFields = fields => util_.ownKeys(fields).every(key => isField(fields[key]));
4120 | const getFields = hasFields => "fields" in hasFields ? hasFields.fields : getFields(hasFields[refineTypeId]);
^
TypeError: hasFields is not an Object. (evaluating '"fields" in hasFields')
at getFields (/Users/alkondaurov/projects/ak/sheldon/node_modules/.pnpm/@[email protected][email protected]/node_modules/@effect/schema/dist/esm/Schema.js:4120:44)
at getSchemaFromFieldsOr (/Users/alkondaurov/projects/ak/sheldon/node_modules/.pnpm/@[email protected][email protected]/node_modules/@effect/schema/dist/esm/Schema.js:4121:122)
at /Users/alkondaurov/projects/ak/sheldon/node_modules/.pnpm/@[email protected][email protected]/node_modules/@effect/schema/dist/esm/Schema.js:4130:11
at /Users/alkondaurov/projects/ak/sheldon/dist/handler.js:82457:81