facebook/relay

Expand PluginInterface support

Open

#2647 opened on Feb 18, 2019

View on GitHub
 (8 comments) (3 reactions) (0 assignees)Rust (18,930 stars) (1,874 forks)batch import
enhancementhelp wantedwontfix

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.

Contributor guide