Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: models copied via
Config.copy_on_model_validation
always have …
…all fields (#3201) Small regression in #2231. The shallow copy done with `Config.copy_on_model_validation = True` (default behaviour) was using excluded / included fields when it should just copy everything closes #3195
- Loading branch information
1 parent
da916f3
commit 5ad73d0
Showing
2 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters