CategoricalData / hydra

Transformations transformed
Apache License 2.0
72 stars 10 forks source link

Protobuf coder #99

Closed joshsh closed 1 year ago

joshsh commented 1 year ago

It seems that a one-way Protocol Buffers coder may be needed sooner rather than later in Hydra. Unlike Dragon's Protobuf transformer, this will at least initially be a one-way encoding from Hydra Core to Protobuf, and not the reverse. Also, it will initially be strictly a schema-level encoder. These constraints, along with Hydra's much stronger support for type adaptation, should make the coder fairly simple. In the interest of time, the coder will be written in Haskell only; it can be migrated to the DSL in the future when the need arises. Only Protobuf v3 will be targeted.