facebook/relay

Expand PluginInterface support

Open

#2,647 opened on 2019年2月18日

GitHub で見る
 (8 comments) (3 reactions) (0 assignees)Rust (1,874 forks)batch import
enhancementhelp wantedwontfix

Repository metrics

Stars
 (18,930 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド