csumb / csumb-gatsby

A @gatsbyjs version of the CSUMB website.
https://csumb.edu
MIT License
5 stars 0 forks source link

Catch Airtable field mismatch errors #260

Closed kevee closed 5 years ago

kevee commented 5 years ago
arning 
        Field names within graphql cannot have spaces. We do not want you to change your column names
        within Airtable, but in "Gatsby-land" you will need to always use the "cleaned" key.
        On the Areas base [] 'tableLinks', we modified the supplied key of
        Semester/Year Programs to instead be Semester/Year_Programs. Please use Semester/Year_Programs in all of your queries. Also, update your config
        to use Semester/Year_Programs to make this warning go away. See https://github.com/jbolda/gatsby-source-airtable#column-names
        for more information.

warning 
        Field names within graphql cannot have spaces. We do not want you to change your column names
        within Airtable, but in "Gatsby-land" you will need to always use the "cleaned" key.
        On the Program Website feed base [] 'tableLinks', we modified the supplied key of
        Fall/Spring Application Deadline to instead be Fall/Spring_Application_Deadline. Please use Fall/Spring_Application_Deadline in all of your queries. Also, update your config
        to use Fall/Spring_Application_Deadline to make this warning go away. See https://github.com/jbolda/gatsby-source-airtable#column-names
        for more information.

warning 
        Field names within graphql cannot have spaces. We do not want you to change your column names
        within Airtable, but in "Gatsby-land" you will need to always use the "cleaned" key.
        On the Program Website feed base [] 'tableLinks', we modified the supplied key of
        Summer Application Deadline to instead be Summer_Application_Deadline. Please use Summer_Application_Deadline in all of your queries. Also, update your config
        to use Summer_Application_Deadline to make this warning go away. See https://github.com/jbolda/gatsby-source-airtable#column-names
        for more information.

warning 
        Field names within graphql cannot have spaces. We do not want you to change your column names
        within Airtable, but in "Gatsby-land" you will need to always use the "cleaned" key.
        On the Program Website feed base [] 'tableLinks', we modified the supplied key of
        Campus services to instead be Campus_services. Please use Campus_services in all of your queries. Also, update your config
        to use Campus_services to make this warning go away. See https://github.com/jbolda/gatsby-source-airtable#column-names
        for more information.
kevee commented 5 years ago

Also explicitly include fields to prevent field name changes from throwing errors.