Replies: 1 comment
-
|
Does https://polyfactory.litestar.dev/latest/reference/factories/base.html#polyfactory.factories.base.BaseFactory.__set_as_default_factory_for_type__ work for this use case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to be able to extend the current examples for factories as fields for collection type fields, but currently this seems impossible to do while preserving the existing build parameter delegation.
Is this possible?
https://polyfactory.litestar.dev/latest/usage/fields.html#factories-as-fields
I've modified the existing example to add a
pets: list[Pet]fieldBeta Was this translation helpful? Give feedback.
All reactions