Hi, does anybody know if it is possible to disable a PPX for running on a given file? I have a project that I’m migrating from an old version of graphql-ppx to the newest version and it is a rather big task to do all at once.
You can use the extension point
%gql(...) instead of
%graphql(...) in the new version as well, that is ignored by the old version, so you can migrate to the new version step by step (you also need two sets of bindings for this to work). After converting everything you can remove the old bindings and the old ppx, and change
%gql back to
Thank you for the answer!