-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement derive macro to automatically convert Value
to T
#21
Comments
hey @sheepduke could you share more details for this task, I would be interested to contribute, but not sure what exactly is asked for 😅 |
@gruebel Sure! You see, we have a function Now to really make use of this function, the caller needs to manually implement My idea is to implement something similar to Further more, you may have noticed that there is a feature These are just my brief ideas. Please feel free to ask any question and/or propose your ideas here. :-) |
Thanks, definitely will give it a try 💪 |
hey @sheepduke I finally had some time to look into it and as far as I understand it, we would need to create a separate crate to implement a procedural macro. If we want to go that way, we should first change the project to leverage a workspace and then create a new package |
Strange. I thought I replied your message via email but it seemed not. My bad. :-( I am absolutely fine with it, especially when there is not another choice... |
Automatically implement
From<StructValue>
for T with derive macro.The text was updated successfully, but these errors were encountered: