facebook/relay

Expand PluginInterface support

Open

#2.647 geöffnet am 18. Feb. 2019

Auf GitHub ansehen
 (8 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Rust (18.930 Stars) (1.874 Forks)batch import
enhancementhelp wantedwontfix

Beschreibung

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.

Contributor Guide