-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Babel plugin object example:
type PluginObject = {
pre?: Function;
post?: Function;
manipulateOptions?: Function;
visitor: ?{
[key: string]: Function | {
enter?: Function | Array<Function>;
exit?: Function | Array<Function>;
}
};
};each babel plugin returns an object like this.
we should think in CreateGraphQL PluginObject as well.
- Separate
mongooseschema to a plugin; - Separate
relaytemplates to a plugin (figure out how to best do this); - Create boilerplate projects for Create-GraphQL plugins;
- Handle
pluginsproperty on.graphqlrc.
jgcmarins