Attributes are great, but there's a big problem: you're forced to tie your entity (domain layer) with an implementation (the encryption, in this case, infrastructure layer).
It would be nice to offer alternate mapping solutions, like XML, YAML, or PHP (or even all the three).
Attributes are great, but there's a big problem: you're forced to tie your entity (domain layer) with an implementation (the encryption, in this case, infrastructure layer).
It would be nice to offer alternate mapping solutions, like XML, YAML, or PHP (or even all the three).