Discussed in #317
Originally posted by franzwollang August 22, 2021
In Pydantic, one can use the .construct() method to instantiate a model while skipping validation. I tried it out with an Ormar model and it seemed to work, except there were some random exceptions when I tried to .save() it that gave me the impression that perhaps doing this broke some of Ormar's internals.
Does Ormar work with the .construct() method? Or is there an Ormar equivalent?
Discussed in #317
Originally posted by franzwollang August 22, 2021
In Pydantic, one can use the .construct() method to instantiate a model while skipping validation. I tried it out with an Ormar model and it seemed to work, except there were some random exceptions when I tried to .save() it that gave me the impression that perhaps doing this broke some of Ormar's internals.
Does Ormar work with the .construct() method? Or is there an Ormar equivalent?