kaleidos / grails-postgresql-extensions

Grails plugin to use postgresql native elements such as arrays, hstores,...
Apache License 2.0
78 stars 63 forks source link

Default serialize Enum Arrays to postgres arrays of strings #102

Open nicsl0s opened 7 years ago

nicsl0s commented 7 years ago

When I'm using your example Juice[] favoriteJuices = []

I would like to end up in:

| favorite_juices
+---------------------------+
{ORANGE, APPLE}

Is this already configureable?

ilopmar commented 7 years ago

Which version are you using?

I think at some point we stored the cardinal of the enums but I'm not sure when we changed that.