jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.54k stars 4.02k forks source link

Enum array #20474

Closed yelhouti closed 1 year ago

yelhouti commented 1 year ago
Overview of the feature request

Have the ability to define a field type as MyEnum[]

Motivation for or Use Case

Sometimes it useful to store send/store/return an array of enum (Like a ManyToMany but with an enum). Ex: I have an enum "PaymentMethod": CASH, CREDIT_CARD...

I want to enable only a few per location.

Automating a common uses case that I face in multiple project. With the current version a say it's a textBlob then I have to serialize de-serialize everywhere...

I couldn't find one

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days