-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Drop common.Bind and other context-based deprecated utils #2448
Conversation
@mstoykov xk6-tests updated now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though I am pretty sure we can also easily remove BindToGlobal()
, this is the only place it's used as far as I can see:
Lines 341 to 344 in 03e938d
unbindInit := common.BindToGlobal(rt, map[string]interface{}{ | |
"require": init.Require, | |
"open": init.Open, | |
}) |
I think we can do that in a separate PR @na-- - there also likely will be other changes in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough 🤷♂️ @codebien, can you please open a separate v0.38.0 issue or PR about that? 🙏
@na-- Sure, I'm already on it |
Closes #2385
Closes #2428