Convert internal plugins to use schema customization API #20069
Replies: 10 comments
-
Hi @vladar, I'd like to help you out with this task! Which plugins are up for grabs? |
Beta Was this translation helpful? Give feedback.
-
This is great! Thanks for your initiative. You could pick any plugin from the list above that has no link to existing PR/Epic associated with it. I suggest you mention the one you chose here so that I could update this list to avoid collisions. One issue though is that some source plugins are too dynamic/complicated (like drupal for instance) so it can be hard to start with those. I think You can use gatsby-plugin-schema-snapshot to print a snapshot of a schema, audit and use related type definitions in the plugin. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I was actually wondering which one of the plugins has the least amount of pitfalls associated with it as I'm just starting out as a contributor. I appreciate your help - will proceed with your suggestion ( |
Beta Was this translation helpful? Give feedback.
-
Hi @vladar, I just created a PR for |
Beta Was this translation helpful? Give feedback.
-
@Powell-v2 See also #14765 (just noticed this issue) |
Beta Was this translation helpful? Give feedback.
-
Hey @vladar! I'm just starting to dig into Gatsby and GraphQL but I'd love to lend a hand here if I could. In particular I'm playing around with the Shopify so I might try that one! Let me know if I'm biting off more than I can chew 😄 |
Beta Was this translation helpful? Give feedback.
-
@graygilmore Sure, go for it! I don't think Shopify types are that complex. One approach that worked for me in the past was to use Thanks for offering help and feel free to ping me if you need advice! |
Beta Was this translation helpful? Give feedback.
-
Hi @vladar , I would like to help for the gatsby-source-drupal plugin. |
Beta Was this translation helpful? Give feedback.
-
Quick question: Would this allow one to customize the name of a node coming from If for example, nodes are created with the name |
Beta Was this translation helpful? Give feedback.
-
Hi @vladar I would like to help and learn, is gatsby-source-wikipedia beginner friendly? Thanks! |
Beta Was this translation helpful? Give feedback.
-
A follow up for #12272. Now that createSchemaCustomization API is stable it is time to start using it for internal Gatsby plugins. Not all plugins are applicable for this API. For such plugins, we should outline why and maybe consider alternatives.
Source plugins:
Transformer plugins:
Help wanted
If you are familiar with the schema customization API or would like to try it - I encourage you to pick a plugin from the list above which is not being worked on yet, try converting it and publish a PR. I will be happy to help.
If the plugin is not in the list - mention me and name the plugin you would like to work on.
Also if you know community plugins which already use schema customization - please mention them in this issue as well.
Beta Was this translation helpful? Give feedback.
All reactions