samisagit / natskell

A NATS client library written in Haskell
MIT License
5 stars 0 forks source link

Reorganise code #85

Closed samisagit closed 1 year ago

samisagit commented 1 year ago

Behaviour should probably live with types - Transformer and Validator implementation should probably live with the types that implement them.

samisagit commented 1 year ago

I've flip flopped on this - validators yes, they are domain decisions. Transformers no, that is a NATS decision, so shouldn't effect the types.