Generator-jhipster: Proposed new keyword: "hidden"

Created on 31 Jan 2019  路  4Comments  路  Source: jhipster/generator-jhipster

Overview of the feature request

This is a request to add new attribute at entity field level to define whether it will be visible on the UI or not. Not all fields defined in an Entity are supposed to be shown on the UI screen. For example, I have a field in almost all of my entities is called "deleted" which I use for soft deleting the data from database. This field is never supposed to be visible on the UI. It is ok, if it flows till UI layer as part of model, but need not be shown on UI screen.

Motivation for or Use Case

This feature will allow users to define entity fields as "hidden".

Related issues or PR

I could not find any such related issue or PR.

  • [ x] Checking this box is mandatory (this is just to show you read everything)
area

Most helpful comment

To hide the field in a generated code, it will take less than 1 minute.
To add this new keyword 'hidden', to test it in our CICD, to maintain it, etc... it will require a lot of work.

So for me, it is against our Policy 2: only add options when there is sufficient added-value in the generated code

Let's wait what other users think about that.

All 4 comments

To hide the field in a generated code, it will take less than 1 minute.
To add this new keyword 'hidden', to test it in our CICD, to maintain it, etc... it will require a lot of work.

So for me, it is against our Policy 2: only add options when there is sufficient added-value in the generated code

Let's wait what other users think about that.

I agree with Pascal here, there's not much value in the end for this feature

Indeed, let's close this, following Policy 2

But thanks for the idea & the feature request @nitinpatel811 !!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomj0101 picture tomj0101  路  3Comments

marcelinobadin picture marcelinobadin  路  3Comments

pascalgrimaud picture pascalgrimaud  路  3Comments

chegola picture chegola  路  4Comments

edvjacek picture edvjacek  路  3Comments