Closed orsinium closed 3 years ago
@orsinium thanks! This looks interesting.
Please, take a look at the proof of concept that I have done today (wrote in less than an hour compared to the wasted day yesterday 😞 ).
I like user-defined errors like for title.
My only concern about it global nature.
Good point, thank you. I will think about namespaces for errors or something like this.
By the way, I'm looking forward to using it as an option to context contract in the stories library. Would be cool if it will be a separate package from the rest.
Thank you! I'm going to make it after dephell. I will notify you when I start it.
I found this gem on the internet: https://www.youtube.com/watch?v=7CcbEGVpnMg
I think we should strongly consider similar possibilities in this library design.
The syntax in the description doesn't work with type annotations, braces are required.
Key principles:
field()
. We can set up field params as tuple.