Skip to content

A way to inject a Bucklescript identifier in %raw #4294

Closed
@jfrolich

Description

@jfrolich

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?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleOld issues that went stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions