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

The repl.evaluateCode API does not provide a way to supply the ns param #2359

Closed
PEZ opened this issue Dec 2, 2023 · 0 comments
Closed

The repl.evaluateCode API does not provide a way to supply the ns param #2359

PEZ opened this issue Dec 2, 2023 · 0 comments

Comments

@PEZ
Copy link
Collaborator

PEZ commented Dec 2, 2023

Related to:

The current API for evaluating code using the Calva repl provides a secret way to pass the ns param (via the undocumented opts) parameter. The API should make this way more obvious to provide. The problem with this is that the output callback functions are occupying the “natural” place for the ns parameter, so it is probably time to introduce a new API extension point. Since we are using .v0 today, we can use .v1 and let existing Joyride scripts keep working with .v0.

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

No branches or pull requests

1 participant