thumbprint
thumbprint copied to clipboard
GraphQL error when running Gatsby
warn Multiple node fields resolve to the same GraphQL field
warn Multiple node fields resolve to the same GraphQL field
warn There are conflicting field types in your data.
If you have explicitly defined a type for those fields, you can safely ignore this
warning message.
Otherwise, Gatsby will omit those fields from the GraphQL schema.
If you know all field types in advance, the best strategy is to explicitly define them
DefaultJson.author:
- type: object
value: { name: 'Daniel O\'Connor', email: '[email protected]', url:
'https://danoc.me/' }
source: File "../packages/thumbprint-codemods/package.json"
- type: string
value: 'Daniel O\'Connor <[email protected]>'
ThumbprintComponent.author:
- type: object
value: { name: 'Daniel O\'Connor', email: '[email protected]', url:
'https://danoc.me/' }
source: File "../packages/thumbprint-react/package.json"
- type: string
value: 'Tom Genoni <[email protected]>'
ThumbprintToken.tokens.value.web:
- type: number
value: 1025
source: File "../packages/thumbprint-tokens/src/tokens/breakpoint.json"
- type: string
value: '4px'
source: File "../packages/thumbprint-tokens/src/tokens/border-radius.json"
ComponentProp.doclets.value:
- type: boolean
value: true
source: File "../packages/thumbprint-react/components/Input/index.jsx"
- type: string
value: 'Use `src` instead of `url`.'
source: File "../packages/thumbprint-react/components/ServiceCard/index.jsx"
ComponentProp.parentType.value:
- type: [object]
value: [ { value: '\'bottom\'', computed: false }, ... ]
source: File "../packages/thumbprint-react/components/BlockList/index.jsx"
- type: object
value: { name: 'number' }
source: File "../packages/thumbprint-react/components/InputRow/index.jsx"
- type: string
value: 'Date'
source: File "../packages/thumbprint-react/components/DatePicker/index.jsx"
ComponentProp.type.value:
- type: [object]
value: [ { value: '\'bottom\'', computed: false }, ... ]
source: File "../packages/thumbprint-react/components/BlockList/index.jsx"
- type: object
value: { name: 'number' }
source: File "../packages/thumbprint-react/components/InputRow/index.jsx"
- type: string
value: 'Date'
source: File "../packages/thumbprint-react/components/DatePicker/index.jsx"
I dug into this last August, but the issue is not yet fixed in Gatsby: https://github.com/gatsbyjs/gatsby/issues/7027.
Happy to have someone dig into this, but it will require a deep-dive into the Gatsby internals to fix.