Closed sim642 closed 4 months ago
@NathanReb Since this is along the lines of https://github.com/ocaml-ppx/ppx_deriving/pull/263 and that a release of ppx_deriving_yojson might be due (https://github.com/ocaml/opam-repository/pull/25675#issuecomment-2057097995), then this would also make sense to synchronize similar changes.
Yeah, I was looking into this just yesterday and was pleasantly suprised to see you had already worked on a ppxlib port.
I will review this ASAP!
Analogous to https://github.com/ocaml-ppx/ppx_deriving/pull/263. This doesn't necessarily depend on that PR, but some of the same criticism applies.
In particular the point aboutNevermind, the support can be preserved using a custom extension.[%derive.to_yojson: ...]
and[%derive.of_yojson: ...]
being unsupported through ppxlib directly. According to sherlocode, only ocurrent uses one of these.