-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
type: question or discussionIssue discussing or asking a question about GatsbyIssue discussing or asking a question about Gatsby
Description
Summary
I have an excel sheet with a column "number". The cell's content varies form e.g. S-123-1 to 1234.
When the nodes are created, two different field types are interpreted. A string and a number. With this conflict, graphql omits those fields.
Is there now any way I can define these fields as strings? Changing the Cellformatting in excel does nothing.
Relevant information
In gatsby-node.js inonCreateNode I can use the fields fine. However in createPages, where I want to query this data, I get the warning about the conflicting field types.
Environment (if relevant)
- Gatsby version: 1.9.270
- gatsby-transfromer-excel: 1.0.7
- gatsby-cli version: 1.1.40
- Node.js version: 8.9.4
- Operating System: macOS 10.13.5
Metadata
Metadata
Assignees
Labels
type: question or discussionIssue discussing or asking a question about GatsbyIssue discussing or asking a question about Gatsby