temp
This commit is contained in:
@@ -10,6 +10,9 @@ console.log("JSON Schema for the person object:");
|
|||||||
console.log(
|
console.log(
|
||||||
JSON.stringify(toJSONSchema(schema), null, 2)
|
JSON.stringify(toJSONSchema(schema), null, 2)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log('shape', schema.shape);
|
||||||
|
console.log('shape name', schema.shape.name.toJSONSchema());
|
||||||
// const jsonSchema = toJSONSchema(schema);
|
// const jsonSchema = toJSONSchema(schema);
|
||||||
|
|
||||||
// const schema2 = z.fromJSONSchema(jsonSchema);
|
// const schema2 = z.fromJSONSchema(jsonSchema);
|
||||||
|
|||||||
Reference in New Issue
Block a user