question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`@deprecated` should be a boolean

See original GitHub issue

Thank 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:closed
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
domoritzcommented, Nov 6, 2021

@stevenlandis-rl what do you think?

0reactions
github-actions[bot]commented, Mar 21, 2022

🚀 Issue was released in v0.98.1-next.4 🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found