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

Avoiding manual conversion step & autocompletion #2

Open
mhuisi opened this issue Feb 25, 2021 · 0 comments
Open

Avoiding manual conversion step & autocompletion #2

mhuisi opened this issue Feb 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mhuisi
Copy link
Collaborator

mhuisi commented Feb 25, 2021

When I have time to work on this again (in ~2 months), I'd like to adjust the API so that no extra conversion step is necessary at the end and work on autocompletion.

For the former, a macro approach could work well, where a type-safe output structure is generated either from a Parsed value or even directly at the start using the configuration macro. The library does not really track the real type right now, so the latter should be safer.

@mhuisi mhuisi added the enhancement New feature or request label Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant