2 ms·
You have to specify the depth in the query by explicitly describing each level. There's no way to specify infinite depth (by design). https://github.com/faceboo
by tlrobinson 11y ago
You have to specify the depth in the query by explicitly describing each level. There's no way to specify infinite depth (by design). https://github.com/facebook/graphql/issues/91 https://github.com/facebook/graphql/issues/91
If you really wanted to get all the comments on a post, for example, you would have to have a flattened "comments" listing (but each comment could have an id and parent id, which you could use to re-build the nested structure on the client)