Working with .graphql files
Gregoirevda opened this issue · 1 comments
Gregoirevda commented
It would be very interesting to have the ppx working with .graphql
or .gql
file extensions.
mhallin commented
This is unfortunately not possible to do in a clean way. Technically, the PPX could open other files and process them (just like it does with graphql_schema.json
), but it doesn't emit dependency information so if the queries change, the files wont get rebuilt unless you do bsb -clean-world -make-world
. This problem exists with the schema file too, but is usually fine since it seldom changes.