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

JmesPath class might not be thread-safe #90

Closed
hell-racer opened this issue Apr 24, 2023 · 3 comments
Closed

JmesPath class might not be thread-safe #90

hell-racer opened this issue Apr 24, 2023 · 3 comments

Comments

@hell-racer
Copy link
Contributor

If the Transform() is invoked on different json tokens, and expressions contain root-node expressions ($.foo.bar) it might lead to unexpected results, because the evaluator_'s Root property is updated inside Transform()/Parse() methods. Additional investigation needed.

@springcomp
Copy link
Collaborator

@hell-racer is this solved ? I cannot remember if I addressed this in one of the latest changes ?

@hell-racer
Copy link
Contributor Author

I think I addressed it with #91.

@springcomp
Copy link
Collaborator

Cool. Thanks for the feedback.

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

No branches or pull requests

2 participants