8 comments (8 comments)3 reactions (3 reactions)0 assignees (0 assignees)Rust1,874 forks (1,874 forks)batch import
enhancementhelp wantedwontfix
Repository metrics
- Stars
- 18,930 stars (18,930 stars)
- PR merge metrics
- No merged PRs in 30d (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
- Research direction
- Study the Relay compiler plugin interface, specifically how custom directives are added via relayCompilerBin and how getFileFilter is implemented. Look at the PluginInterface trait and identify extension points for custom schema and file filter. Examine existing plugins for patterns.
- Tech stack
- rustjavascriptgraphql
- Domain
- toolingbuild system
- Issue type
- Feature
- Prerequisites
- GraphQLRelayPlugin development