This PR adds Apache Thrift binary wire format support to ZIO Schema 2 (zio-blocks) by introducing a new module called schema-thrift.
It enables automatic serialization and deserialization of any type A with a Schema[A] to and from Thrift binary format using Apache Thrift’s TBinaryProtocol.
zio-blocks/
├── schema-thrift/
│ ├── README.md
│ └── src/
│ ├── main/
│ │ └── scala/zio/blocks/schema/thrift/
│ │ ├── ChunkTransport.scala
│ │ ├── ThriftBinaryCodec.scala
│ │ └── ThriftFormat.scala
│ └── test/
│ └── scala/zio/blocks/schema/thrift/
│ └── ThriftCodecSpec.scala
└── build.sbt
Schema[A]TBinaryProtocolIncludes a comprehensive test suite covering:
/claim #681 Fixes #681
Orbin Sunny
@orbin123
ZIO
@ZIO