Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gatsby-source-mongodb): sanitize type of nodes to only contain al…
…phanumeric chars and underscores (gatsbyjs#7246) Fixes: gatsbyjs#7218 (copied from issue) This is due to the fact that `graphql` requires the node's `name` to match the `/^[_a-zA-Z][_a-zA-Z0-9]*$/` regex: https://github.com/graphql/graphql-js/blob/5fe39262a308df944a87cc85b225228e7556aaa4/src/utilities/assertValidName.js#L14
- Loading branch information