You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sea ORM uses Vec<u8> for Bit and VarBit with length greater than 1 and bool for length 1 or none. But it should use bitvec::vec::BitVec for VarBit and bitvec::array::BitArray for Bit. Also for postgres types like Inet (can use std::net::IpAddr), Cidr and MacAddress
Description
Sea ORM uses
Vec<u8>
forBit
andVarBit
with length greater than 1 andbool
for length 1 or none. But it should usebitvec::vec::BitVec
forVarBit
andbitvec::array::BitArray
forBit
. Also for postgres types likeInet
(can usestd::net::IpAddr
),Cidr
andMacAddress
Steps to Reproduce
Bit
orVarBit
Expected Behavior
generates field with type
BitVec
orBitArray
Actual Behavior
generates field with type
String
Reproduces How Often
Everytime
Workarounds
No idea
Versions
sea-orm version: 1.1.0
OS: Ubuntu 24.04
Database: Postgres 16
Rust version: 1.84 (nightly)
The text was updated successfully, but these errors were encountered: