Replace maxDepth
with defaultDepth
and/or allow depth overrides and/or something else?
#2978
Replies: 1 comment 1 reply
-
Hey @ssyberg — few questions for you. The Admin UI is set up to use We could theoretically add another query param that says something like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently
maxDepth
works as expected but it has a number of drawbacks and I think some pretty light code changes could give us more granular control over depth. I haven't fully thought this through but I went through and removed all of themaxDepths
throughout our system and now admin is slooooooow. The initial reason I did this is because I want to be able to set depth per API call regardless of what the maxDepth is (i.e. I should be able to override the max) -- which means if we're overriding max well then it's not a max at all but simply a default. I think the same should be true of relationship depths.The above would be a great start, but would also be great to be able to specify relationship depth per field in a a query, though I'll take what I can get ;)
Beta Was this translation helpful? Give feedback.
All reactions