-
-
Notifications
You must be signed in to change notification settings - Fork 116
Standardize false values for string fields #283
Comments
I think we should stick with |
Agreed. This would be a breaking change if we don't handle this right.
|
its already broken actually, so i'm doing a fix now to restore old behaviour |
closed the wrong one |
This concerns everyone @jhipster/developers. I agree with @deepu105's proposal. If everyone's okay with Seems |
I'd prefer none (example for cache provider) when it is not a boolean. But what is important is the consistancy, so if no is the one choosen it is not a problem. |
FYI there's a related discussion on jhipster/generator-jhipster#8608 |
Booleans can remain true/false, I'm only talking about String with no/none/false |
@MathieuAA could you do that for JHipster V6? I could handle the changes in generator-jhipster if needed, but I'm not sure how/where things should be changed here. |
@murdos Yep, I'll find time this week to do it. |
@MathieuAA : any update on the subject? If you don't have the time, could you tell me where would be the best place in the code to add the standardization of the provided value, as suggested by @deepu105 : |
Yeah I got side-tracked this past few weeks. |
I think this is a good time to do it, I want to release JCore v6 (including quite a few breaking changes) and this issue is just yelling at me to get closed. |
But since JCore is so integral to JHipster may be we should do breaking
changes in grammar along with next major version of JHipster.
May be first we should merge jcore to Jhipster
…On Sat, 2 Nov 2019, 8:17 pm Mathieu ABOU-AICHI, ***@***.***> wrote:
I think this is a good time to do it, I want to release JCore v6
(including quite a few breaking changes) and this issue is just yelling at
me to get closed.
I'm gonna see what needs to be done for this one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#283?email_source=notifications&email_token=AAIOKF2AQRUZHVJQOIVXC7TQRW74ZA5CNFSM4GDCISKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5B4ZA#issuecomment-549068388>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIOKF56SKEZBHDAD3JTOYTQRW74ZANCNFSM4GDCISKA>
.
|
Agreed. |
Closing this in favor of jhipster/generator-jhipster#8608. |
Currently we use a mix of
false
andno
to disable things. We should have a standard way of doing this with eitherfalse
orno
everywhere.For example see
serviceDiscoveryType
andcacheProvider
The text was updated successfully, but these errors were encountered: