-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature: mappable meta #12
Conversation
@vadymmarkov what about the README? 😁 |
My wonder is about this |
This is interesting idea @onmyway133. What do you think @zenangst? It could be some additional protocol, so you should have title, subtitle, kind and so on on your struct. But it's Mappable at the same time. |
I like this idea! 😁 |
@zenangst
Got a new idea regarding our discussions about meta. So instead of using enums or magic generators we can use Mappable structs 😄
My only concern is than it might be too much code, because you have to implement mapping, don't see any way to avoid this, even though property key always reflects the property name. But with this approach you write string only once which is nice.