Open sam-goodwin opened 5 years ago
We currently only support Json codecs, let's demonstrate how interchangeable they are by integrating with Avro. It should be simple enough to map a Shape to avro schema, similarly to how JSON schema works:
Shape
https://github.com/sam-goodwin/punchcard/blob/d866672ccd1adf60ed18a75f119745a4f3fde03a/packages/punchcard/lib/shape/types/type.ts#L10
https://www.npmjs.com/package/avro-js
We currently only support Json codecs, let's demonstrate how interchangeable they are by integrating with Avro. It should be simple enough to map a
Shape
to avro schema, similarly to how JSON schema works:https://github.com/sam-goodwin/punchcard/blob/d866672ccd1adf60ed18a75f119745a4f3fde03a/packages/punchcard/lib/shape/types/type.ts#L10