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

Inferring more meaning from types for derives #2678

Closed
epage opened this issue Aug 11, 2021 Discussed in #2637 · 1 comment
Closed

Inferring more meaning from types for derives #2678

epage opened this issue Aug 11, 2021 Discussed in #2637 · 1 comment
Labels
A-derive Area: #[derive]` macro API C-enhancement Category: Raise on the bar on expectations S-waiting-on-design Status: Waiting on user-facing design to be resolved before implementing

Comments

@epage
Copy link
Member

epage commented Aug 11, 2021

Discussed in #2637

Originally posted by epage July 28, 2021
Right now, we only use types to infer occurrences / values (see #1772) or some limited capabilities when a user sets arg_enum.

What else can we infer from types?

@pksunkara pksunkara modified the milestone: 4.0 Aug 11, 2021
@pksunkara pksunkara added T: new feature A-derive Area: #[derive]` macro API labels Aug 11, 2021
@epage epage added C-enhancement Category: Raise on the bar on expectations S-waiting-on-design Status: Waiting on user-facing design to be resolved before implementing and removed T: new feature labels Dec 8, 2021
@epage
Copy link
Member Author

epage commented Jun 8, 2022

This was greatly improved with the introduction of value_parser, see #3742

@epage epage closed this as completed Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-derive Area: #[derive]` macro API C-enhancement Category: Raise on the bar on expectations S-waiting-on-design Status: Waiting on user-facing design to be resolved before implementing
Projects
None yet
Development

No branches or pull requests

2 participants