I have developed an experimental change to bin_protto help with migrating data across schema versions. This change affects the API of bin_prot, insofar as 'a reader becomes (’a, 'ctx) reader and bin_read_t takes an additional argument.
I’m now trying to patch ppx_bin_prot to be able to automatically @@derive readers. I have code that builds, and probably doesn’t work yet, but I’m at a loss on how to test this.
Any attempt I’ve made to use my modified ppx_bin_prot requires gel, which uses ppx_bin_prot, but somehow ends up using my new bin_prot with the existing ppx_bin_prot.
Has anybody attempted to contribute to bin_prot/ppx_bin_prot? If so, how did you handle testing?