facebook/relay

Expand PluginInterface support

Open

#2,647 建立於 2019年2月18日

在 GitHub 查看
 (8 留言) (3 反應) (0 負責人)Rust (18,930 star) (1,874 fork)batch import
enhancementhelp wantedwontfix

描述

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.

貢獻者指南