hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects
https://graphcms.com
MIT License
145 stars 41 forks source link

Gatsby V2 fails to build fragments when model has nested components #239

Open artusi-io opened 2 years ago

artusi-io commented 2 years ago

Description

A model using nested components will break the building showing bad request error. Eg:

package.json

 "gatsby": "^2.32.12",  
 "gatsby-source-graphcms": "2.8.0",

Screen Shot 2022-07-15 at 14 07 28 Screen Shot 2022-07-15 at 14 02 33 Screen Shot 2022-07-15 at 14 25 23

Error

[gatsby-source-graphcms]: Problem building GraphCMS nodes
 Error: Bad Request

If this library doesn't give support to gatsby v2 please close this issue