79387159

Date: 2025-01-25 17:23:02
Score: 2
Natty:
Report link

Since you define the _id as non-nullable, it will always generate the id with an empty string "". The solution is to make it optional, hence String?, and remove the default value.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: João Saraiva