You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gatsby-transformer-excel/README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,3 +108,24 @@ Which would return:
108
108
}
109
109
}
110
110
```
111
+
112
+
## Troubleshooting
113
+
### Field Type Conflicts
114
+
If your columns have different data types, e.g. numbers and strings graphql will omit these values and provide you with a field type conflicts warning during build.
115
+
To solve this, you can set the rawOutput option of the plugin to false. This will convert all values to strings.
116
+
117
+
```javascript
118
+
// In your gatsby-config.js
119
+
module.exports= {
120
+
plugins: [
121
+
{
122
+
resolve:`gatsby-transformer-excel`,
123
+
options: {
124
+
rawOutput:false,
125
+
}
126
+
}
127
+
],
128
+
};
129
+
```
130
+
131
+
This will make sure, that all field types are converted to strings.
0 commit comments