Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by porridgeraisin

15 hours ago

This idea looks good. Have you used it in practice? Can you share how?

1 comment

porridgeraisin

Reply

amelius  14 hours ago

Yes, you basically use the option whenever you have assertions turned on in your code.

Then the service running the API will do extra checking when the assertions option is true, basically making it less forgiving and following the specification closely.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities