Andrew Truong

Results 54 comments of Andrew Truong

Hey @leverage-analytics , sorry the late reply on this! I think the callable use case may be a little confusing as doesn't link the params of kwargs closely to the...

Just to clarify 1. Would this would looks like ```py class Param: def __init__(self, default: T, default_factory: Callable[[], T)-> None: ... class Factory(DataclassFactory[MyType]): a = Param(default_factory=lambda: 1) assert Factory.build(a=2).a ==...

Thanks again for clarifying. Appreciate the patience on back and forth and explaining to help me understand! I think 3 makes is my preference as most in line with existing...

Sounds good! I'd say 3 if my preference with 2 if strong general use case depending what other @litestar-org/maintainers thinks

Hi vrslev, this may be tricky to support as is given `validation_alias` may not be a `str` but an alias path as well. I will have a look to see...

Closing in favour of https://github.com/litestar-org/polyfactory/issues/713. This documents workaround and should handle more general case here

Hey @Goldziher, I'll unlikley to find time to implement myself but happy to review PRs for this! I want to focus on v3 and given it's new functionality imagine it'll...

Initial changes https://github.com/litestar-org/polyfactory/pull/691

Hi @Harshal6927 , I think getting close to v3 release now. I've made an explicit release candidate [here](https://github.com/litestar-org/polyfactory/pull/720) for targeting if still works for releasing as part of this?

@ericchansen this case is supported if configure this as the default factory https://polyfactory.litestar.dev/latest/usage/configuration.html#defining-default-factories