-
Hi. I am very interested why attributes are now preferred over interfaces and the latter are replaced by the former. The examples are e.g. Thank you for your explanation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm not behind this decision but using interfaces as metadata is kind of a hack (because it does not define any contract), so when you have a tool like attributes to add metadata it's better to use it! |
Beta Was this translation helpful? Give feedback.
I'm not behind this decision but using interfaces as metadata is kind of a hack (because it does not define any contract), so when you have a tool like attributes to add metadata it's better to use it!