'Airtable not showing in GraphQL
today I tried to use Airtable in GraphQL, however, it does not show in graphql. I added the package with yarn, then I updated the gatsby-config file with the code below:
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
{
plugins: [
resolve: `gatsby-source-airtable`,
options: {
apiKey: process.env.GATSBY_AIRTABLE_API,
concurrency: 5,
tables: [
{
baseId: process.env.GATSBY_AIRTABLE_BASE_ID,
tableName: `Projects`,
mapping: {image:`fileNode`}
}
]
}
],
}
On top of that I cleaned gatsby cache and started gatsby develop with sudo command. Still allAirtable is not showing in the graphiQL 😑
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
