facebook/relay

Expand PluginInterface support

Open

#2 647 ouverte le 18 févr. 2019

Voir sur GitHub
 (8 commentaires) (3 réactions) (0 assignés)Rust (1 874 forks)batch import
enhancementhelp wantedwontfix

Métriques du dépôt

Stars
 (18 930 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I just wrote a plugin for scalajs (very rough but works), using the plugin interface and two things would be super nice to support.

  • Extra schema, like in the relayCompilerBin you add directives, it would be nice for a plugin to be able to add custom directives.
  • The getFileFilter function looks for the string graphql, we should be able to override that.

Otherwise, it went well.

Guide contributeur