Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Allowing recursive depth control #1196

Open
JonathannJacobs opened this issue Dec 14, 2024 · 0 comments
Open

[Feat]: Allowing recursive depth control #1196

JonathannJacobs opened this issue Dec 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JonathannJacobs
Copy link

What is your idea?

Salutations,

getItemProperties(modelID: number, id: number, recursive?: boolean, inverse?: boolean): Promise;

All the functions having a recursive parameter as a boolean could be replaced by an integer instead, representing the allowed recursion depth.
0 -> no recursion
-1 -> like current recursive true, no limits
every other integer -> would serve as a depth limit

This would be usefull to explore contexts without loading galaxy of details. Allowing a more organised step by step exploration.

@JonathannJacobs JonathannJacobs added the enhancement New feature or request label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant