Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

A Null Priority Bug Between UI, Database, and Zod

While working on FocusYar, I found a bug when editing a Task without a priority. I created a Task with only a title, so the database stored: priority: null Later, when I opened the edit form and left…

  • Bug caused by null priority value in FocusYar application
  • Zod schema initially checked for undefined, not null
  • Resolved by modifying edit schema to check for null values

More from Thursday 17 September →