plow-technologies / inferno

A statically-typed functional scripting language
MIT License
4 stars 1 forks source link

Convert VCObjectHash to be an instance of Binary or Serialize #29

Closed mirko-plowtech closed 1 year ago

mirko-plowtech commented 1 year ago

Inferno.VersionControl.Operations is writing VCObjectHashs to binary files, and it is using a custom serialiser called vcObjectHashToByteString instead of the Binary typeclass' put/get.

Extra: We could add golden tests for it.

mirko-plowtech commented 1 year ago

Update: As the library already has cereal as dependency, I will implement Serialize for VCObjectHash