When gatsby-source-meetup is configured to retrieve upcoming events and there are no upcoming events scheduled, the query for the events fails. I am using a StaticQuery, and this results in the build of my page failing.
Query:
export default () => (
<StaticQuery
query={graphql`
query {
meetupGroup {
events {
name
local_date
local_time
venue {
name
address_1
city
}
link
description
}
}
}
`}
render={
// formatting stuff for the page here
)}/>
)
Exception (local, using gatsby develop):
ERROR #85907 GRAPHQL
There was an error in your GraphQL query:
- Unknown field 'events' on type 'MeetupGroup'.
When gatsby-source-meetup is configured to retrieve upcoming events and there are no upcoming events scheduled, the query for the events fails. I am using a StaticQuery, and this results in the build of my page failing.
Query:
Exception (local, using
gatsby develop
):