-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to ppxlib registration and attributes #149
Conversation
@NathanReb Since this is along the lines of ocaml-ppx/ppx_deriving#263 and that a release of ppx_deriving_yojson might be due (ocaml/opam-repository#25675 (comment)), 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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good! Thanks for working on this!
I have a few minor comments but besides that it should be good to go!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Analogous to ocaml-ppx/ppx_deriving#263. This doesn't necessarily depend on that PR, but some of the same criticism applies.
In particular the point about[%derive.to_yojson: ...]
and[%derive.of_yojson: ...]
being unsupported through ppxlib directly. According to sherlocode, only ocurrent uses one of these.Nevermind, the support can be preserved using a custom extension.