You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
We couldn't really infer types by default due to backward compatibility
first, this feature is awesome, so thank you.
the problem is that we don't benefit the power of the intellisense until the { infer: true } is assigned.
this means that every time we start typing: this.config.get('foo.'
we need to move to the options part, type { infer: true } then go back to the string and check the intellisense;
Expected behavior
{ infer: true } as the default option, unless we disable it in the config module options
or, an option to autoInfer as defualt.
as a side note, I don't understand why we can't make breaking changes,
I think as long as we follow the semantic version (i.e. bump 0.6.3 to 1.0.0) - make it totally legit.
The text was updated successfully, but these errors were encountered:
as a side note, I don't understand why we can't make breaking changes
We can but we don't want to. Our goal is to generally avoid breaking changes as possible.
Now when this feature is available, we'll think about making it the "default option" in the next major release. If you want to use { infer: true } by default, you can always extend the ConfigService class creating the custom configuration service which automatically sets infer to true. This isn't blocking.
I'm submitting a...
Current behavior
regarding the new option to
{ infer: true }
#573 (comment)
@kamilmysliwiec:
first, this feature is awesome, so thank you.
the problem is that we don't benefit the power of the intellisense until the
{ infer: true }
is assigned.this means that every time we start typing:
this.config.get('foo.'
we need to move to the options part, type
{ infer: true }
then go back to the string and check the intellisense;Expected behavior
{ infer: true }
as the default option, unless we disable it in the config module optionsor, an option to autoInfer as defualt.
as a side note, I don't understand why we can't make breaking changes,
I think as long as we follow the semantic version (i.e. bump 0.6.3 to 1.0.0) - make it totally legit.
The text was updated successfully, but these errors were encountered: