Commit c267afa
committed
minor symfony#21264 [Validator] UniqueEntity - add note about comparing files. (wkania)
This PR was merged into the 6.4 branch.
Discussion
----------
[Validator] UniqueEntity - add note about comparing files.
For ``binary`` and ``blob`` fields, instead of comparing large files directly,
consider storing and comparing a hash (e.g., MD5) of the content in your
custom ``repositoryMethod``.
Commits
-------
6688d8b [Validator] UniqueEntity - add note about comparing files.1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
405 | 411 | | |
0 commit comments