Skip to content

Document all variants of Value and fix error types #1353

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

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

devyn
Copy link
Contributor

@devyn devyn commented Apr 15, 2024

This is one of the really important Rust types that wasn't documented in full in the plugin protocol reference, and multiple non-Rust plugin developers said they couldn't quite grasp what was required from the Rust docs, so this provides examples for all of the variants we currently have.

Unfortunately this will need to be kept in sync manually.

@fdncred fdncred merged commit da053ac into nushell:main Apr 16, 2024
2 checks passed
@fdncred
Copy link
Contributor

fdncred commented Apr 16, 2024

looks good, thanks.

@devyn devyn deleted the document-value-types branch April 16, 2024 21:34
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.

2 participants