GenkitG
Genkitโ€ข2y agoโ€ข
6 replies
incredible-moccasin

The JSON schema package we are using in

The JSON schema package we are using in Go suits our needs except that it doesn't support multi-types (e.g. type: ["string", "null"]) which is how nullable types are represented in JSON draft 7. In draft 2019-09, it's represented as:
  type: "string"
  nullable: true

This is blocking us from bringing feature parity between runtimes for Picoschema. Is anyone opposed or know of a reason why we shouldn't update everything in JS to draft 2019-09?
Was this page helpful?