Open mbirkegaard opened 3 years ago
Possibly this is a bug indeed (perhaps particularly with a top level ppxCustom
on fragments). It would be great if you can contribute the failing query to the tests, then I'll look into fixing it.
The recursive modules where one of the last features that were added to the 1.0 release. Thanks for stress testing them!
I'd be happy to add the failing query and seeing about fixing it also. Let me get get the build and tests working first (as per my questions in #205)
@jfrolich Just following up on this since it's blocking our migration from the old ppx. I have a branch with a non-compiling test. (I didn't write a proper test since that's hard to do with a query that doesn't compile, the branch is mainly for illustrative purposes.) Could you please look into fixing it?
Yes will look at this ASAP!
I've been trying to use
@ppxCustom
on this fragmentwhere
User
has the following definitionThe recursive version
fails with
I also tried the less compact non-recursive version which fails with the same error (naming is slightly different but that is immaterial).
A very similar approach works with a query
currentUser: User