Give anonymizer metadata responsibility to the AnonymizerRegistry class#221
Conversation
0f49c44 to
c64c47b
Compare
SimonMellerin
left a comment
There was a problem hiding this comment.
except my 2 comments, seems good to me.
Just one question, are you sure that if we use the same anonymization twice (on 2 different tables and/or columns, it is instantiated only once ? (ie one sample table will be created and used)
16fbefa to
5538b7d
Compare
Yes, a new instance is being created every time, if not, then there is a bug, but not in this code, probably more in the Anonymizator, but we would already have found it in that case. |
SimonMellerin
left a comment
There was a problem hiding this comment.
ok for me, if we put aside the fact that the tests don't pass 😅
Yolo, the only way of living. |
5538b7d to
8cd8ce8
Compare
8cd8ce8 to
03f8fe7
Compare
Preparation work for later, which will allow dynamic anonymizers to be created differently than from a class name. This allows dynamic anonymizers creation from configuration.
This will allow packs to be written without PHP code.
In order to allow this:
This is a first step, tests won't pass right away since I didn't fix them all, it's a PoC for discussion.