facebook/relay

Expand PluginInterface support

Open

#2,647 opened on Feb 18, 2019

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

Repository metrics

Stars
 (18,930 stars)
PR merge metrics
 (No merged PRs in 30d)

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