Propagate AnonymizerConfig into AbstractAnonymizer
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading AnonymizerConfig, AbstractAnonymizer, AnonymizerRegistry, and the unit tests and subclasses that construct anonymizers. Trace every constructor call and assess the breaking-change question raised in the issue. Done means the configuration is propagated consistently, all affected tests and usages are updated, and the compatibility decision is documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Followup of #226.
The idea is to propagate AnonymizerConfig directly to AbstractAnonymizer constructor, instead of de-structuring it as $table and $column parameters.
This has many advantages:
- Each time we add new parameters into
AnonyizerConfigthenAbstractAnonymizer::__construct()will remain stable (no refactoring needed). - All anonymizer may use
AnonyizerConfigproperties, and thus gain flexibility. - Later file enum and file column anonymizers will require the
base pathinformation from #232 to load data files.
Disadvantages:
- This is a
AbstractAnonymizer::__construct()signature change, which means a breaking change. - The PR will be huge, there are many places to fix (especially unit tests).
Another question remains: could we actually allow this breaking change to be in a minor version? My opinion is yes, because people extending the AbstractAnonymizer class or any of the existing subclass are likely not needing to change the constructor implementation, and they don't instanciate their code themselves since it's the role of the AnonymizerRegistry class.
- Lingua principale
- PHP
- Stelle
- 235
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di makinacorpus/DbToolsBundle
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
makinacorpus/DbToolsBundle#259 ·
-
Command-line option --config is not applied when creating database connections in standalone modeAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
makinacorpus/DbToolsBundle#260 ·
-
Laravel 12.0 & 13.0 supportForse di nuovo libera @Lonnytunes l’ha presa 169 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement good first issue
makinacorpus/DbToolsBundle#254 · 6 commenti · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
makinacorpus/DbToolsBundle#252 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
makinacorpus/DbToolsBundle#237 ·
Tutte le issue di makinacorpus/DbToolsBundle
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
taskforcesh/bullmq#5238 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] v-change-database-password reports success but doesn't change the password when MySQL validate_password rejects itForse già presa @bfs2021 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Automattic/jetpack#55517 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
-
area/import type/enhancement when/later
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno