litestar-org / polyfactory

Simple and powerful factories for mock data generation
https://polyfactory.litestar.dev/
MIT License
1k stars 78 forks source link

fix: prefer `sqlalchemy.type.impl` if it exists #502

Closed cofin closed 6 months ago

cofin commented 6 months ago

This PR checks for the impl property before default to type.python_type.

This is the documented way to use the sqlalchemy.types.TypeDecorator

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 6 months ago

Documentation preview will be available shortly at https://litestar-org.github.io/polyfactory-docs-preview/502