awakesecurity / proto3-suite

Haskell Protobuf Implementation
https://hackage.haskell.org/package/proto3-suite
Other
80 stars 55 forks source link

Derive Data and Generic instances for Protobuf AST types #227

Closed riz0id closed 1 year ago

riz0id commented 1 year ago

This PR derives Data and Generic instances for all of the protobuf AST types in Proto3.Suite.DotProto.AST. Our grpc-mqtt currently depends on these instances and obtains them with orphaned standalone deriving clauses. These new instances depends on Data and Generic instances for the Proto3.Wire.Types.FieldNumber type in proto3-wire, which have been included in proto3-wire/#91.