`@deprecated` should be a boolean
See original GitHub issueThank you for the tool, it is very useful.
I just updated to 0.97.0 today and had unexpected changes to the schema.
Related to #972
/**
* @deprecated
*/
type MyType = string;
Should result in:
"deprecated": true
Not
"deprecated": ""
See: Generic keywords — Understanding JSON Schema 2020-12 documentation scroll down to New in draft 2019-09
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
The constructor Boolean(boolean) is deprecated. WHY?
hi @rossko57, I am facing the same issue. How do I declare and use a boolean variable in the code? Can you share...
Read more >Deprecate on(Boolean), where(Boolean), having(Boolean), etc.
In Eclipse, if I type FIELD.eq( , it is auto-expanded to FIELD.equals(o) , so as long as the where(Boolean) overload exists, I will...
Read more >A boolean value was passed to options.operatorsAliases. This ...
This is not an error, it's simply a warning stating that passing boolean values to operatorsAliases in sequelize options will be deprecated ......
Read more >Boolean is deprecated" with JDK 15 : KT-42838 - YouTrack
I received this warning during Code Analysis when switched to new Java & Kotlin versions. The same problem on Kotlin Discussions - CharSequence.isEmpty()...
Read more >Boolean (Java SE 9 & JDK 9 ) - Oracle Help Center
Deprecated. It is rarely appropriate to use this constructor. The static factory valueOf(boolean) is generally a better choice, as it is likely ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stevenlandis-rl what do you think?
🚀 Issue was released in
v0.98.1-next.4
🚀