polyfactory icon indicating copy to clipboard operation
polyfactory copied to clipboard

fix(sqla_factory): fix json type error and pg dialect default value e…

Open wangxin688 opened this issue 1 year ago • 1 comments

Description

Fix json type error in #530. Define JSON type for mysql, mssql, sqlite and postgresql dialect for each one.

one more things I made a fix: for CIDR type postgresql: I believe it should be network rather than a IP address, so netmask should be generated for CIDR type ^^(I'm a network engineer with CCIE before). for INET type: it can be a IP address without netmask or a ip_network address. So I change CIDR to faker(network=True) and INET to faker(network=False)

wangxin688 avatar May 10 '24 14:05 wangxin688

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

github-actions[bot] avatar May 12 '24 12:05 github-actions[bot]