decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

GitHub GraphQL API doesn't work with nested collections with large depth

Open mastercoms opened this issue 8 months ago • 0 comments

The query here fails because max depth is 25 in the GraphQL API. For some reason depth = depth * 2 + 3, so the maximum nested.depth in config.yml you can use in the GraphQL API is 11 without it failing. Maybe needs a note in docs, or a safety + warning if user sets higher than 11.

I will add more detail according to the issue template if needed.

mastercoms avatar Apr 18 '25 16:04 mastercoms