drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

Handle the type when an enum is used as an array in postgres

Open MAST1999 opened this issue 2 years ago • 10 comments

When using postgres if you defined the column as an enum and made it an array, it would still show as an enum instead of an array of enums.

MAST1999 avatar Oct 25 '23 02:10 MAST1999

Fixes #1345

Also fixes this issue for the zod and valibot types as well.

MAST1999 avatar Oct 25 '23 03:10 MAST1999

Hit this bug — appreciate the fix.

asselinpaul avatar Oct 31 '23 15:10 asselinpaul

@AndriiSherman what do we need to do to get this merged?

asselinpaul avatar Oct 31 '23 16:10 asselinpaul

any news on this?

itsyoboieltr avatar Dec 01 '23 19:12 itsyoboieltr

any updates?

amjed-ali-k avatar Jan 14 '24 16:01 amjed-ali-k

Any workaround?

nikhilpsathyanathan avatar Jan 15 '24 11:01 nikhilpsathyanathan

Any workaround?

@nikhilpsathyanathan പെട്ടെന്ന് ആയാൽ മതിയായിരുന്നു . 💯

amjed-ali-k avatar Jan 15 '24 19:01 amjed-ali-k

Friendly push 😊

renesass avatar Jan 18 '24 11:01 renesass

Any updates ?

gregory-krieger avatar Apr 15 '24 13:04 gregory-krieger

Can this please be merged

ngethan avatar May 25 '24 06:05 ngethan

Interested in seeing this merged too!

rorz avatar Jun 05 '24 14:06 rorz

Interested in seeing this merged, too!

I think it's implemented, I have seen it in the release log, check on Discord channel

nikhilpsathyanathan avatar Jun 05 '24 14:06 nikhilpsathyanathan

Thank your for your efforts. Array handling was fixed quite a while ago for all data types, so this PR is no longer necessary to merge.

L-Mario564 avatar Mar 25 '25 16:03 L-Mario564