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

Begin migration away from arg serialization #3281

Merged
merged 3 commits into from Apr 8, 2021

Conversation

sophiajt
Copy link
Member

@sophiajt sophiajt commented Apr 8, 2021

This takes us a step in the direction of moving away from arg serialization. While it was a helpful technique, it's far slower than using similar helper function approaches.

In this PR, I introduce a helper function approach that can read in required, optional, flagged, named, and rest args via helpers that change based on the return type. This allows you to use the helper functions in the context where you know the type you want.

@sophiajt sophiajt merged commit 09a1f5a into nushell:main Apr 8, 2021
@sophiajt sophiajt deleted the from_value branch April 8, 2021 08:15
@fdncred fdncred added this to Release 0.30 in Release PRs Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Release PRs
  
Release 0.30
Development

Successfully merging this pull request may close these issues.

None yet

1 participant