New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(gatsby-source-drupal): add typePrefix
option
#37967
Conversation
store, | ||
cache, | ||
createNode, | ||
createNodeId, | ||
getCache, | ||
reporter, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These aren't valid props
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
I've updated to capitalise the typePrefix, and at the same time optimised isFileNode |
Unit tests are failing (valid) |
@LekoArts tests are now passing |
Description
Adds support for type prefixes to the Drupal source plugin. When set, all types generated by the plugin are prefixed with that value. This is analogous to similar options in the Shopify and WordPress plugins.
Documentation
I've added it to the README
Related Issues