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

Add return_exclusions to runJavascript() #2671

Closed
wants to merge 1 commit into from
Closed

Conversation

pikaro
Copy link
Contributor

@pikaro pikaro commented Mar 6, 2024

Due to potential recursion in the objects returned by runJavascript, it is necessary to remove parts of the tree without modifying the objects in place. Added an optional argument that allows the exclusion of data from the return value in a dotted-path notation.

Due to potential recursion in the objects returned by runJavascript, it is necessary
to remove parts of the tree without modifying the objects in place. Added an optional
argument that allows the exclusion of data from the return value in a dotted-path
notation.
@pikaro pikaro mentioned this pull request Mar 6, 2024
@pikaro
Copy link
Contributor Author

pikaro commented Mar 6, 2024

Note: Might need to be formatted slightly because I couldn't get VSCode autoformatting to work and autopep8 produced different results from the CLI.

@falkoschindler falkoschindler linked an issue Mar 6, 2024 that may be closed by this pull request
@falkoschindler
Copy link
Contributor

Thanks for the pull request, @pikaro!

The formatting is no problem. We can fix that later - if necessary.

I'm a bit undecided whether the API change is worth it, or if there is another, more intuitive and/or more flexible solution to the problem. I left some more thoughts here: #2556 (comment).

@falkoschindler
Copy link
Contributor

Thanks again, @pikaro!
But I'll close this PR in favor of PR #2705 with a simpler yet more flexible API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ag-Grid timeout error
2 participants