Closed
Description
It would be great to have a way to inject Bucklescript identifiers in %raw
extension points. We can do it somehow by creating a raw function that receives parameters.
For the use-case of graphql-ppx we need to support tagged template literals for compatibility with clients. I see that this is not top of mind to support in Bucklescript for the moment. But if we can have a way to inject an identifier in a %raw
(such as Relay.graphql
) we can make it work.
Not sure how the implementation would work (perhaps a way to inline the function call?).