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

fix(repl): replace extra boolean parameter for suggestions with repl options #4915

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

jsternberg
Copy link
Contributor

@jsternberg jsternberg commented Jun 23, 2022

This uses the option pattern to configure the repl with enabling
suggestions as the currently available option. This option defaults to
false. The repl.New() function has also been changed back to accept
only a single argument, but to also allow an optional set of options to
configure the REPL.

Done checklist

  • docs/SPEC.md updated
  • Test cases written

@jsternberg jsternberg requested a review from a team as a code owner June 23, 2022 20:42
@jsternberg jsternberg requested review from wolffcm and removed request for a team June 23, 2022 20:42
Copy link
Contributor

@onelson onelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for smoothing this over @jsternberg !

Copy link

@wolffcm wolffcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I think an update for cloud will also be needed.

…options

This uses the option pattern to configure the repl with enabling
suggestions as the currently available option. This option defaults to
false. The `repl.New()` function has also been changed back to accept
only a single argument, but to also allow an optional set of options to
configure the REPL.
@jsternberg jsternberg merged commit ad28223 into master Jun 23, 2022
@jsternberg jsternberg deleted the fix/repl-options branch June 23, 2022 23:08
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.

3 participants