Question

Distinguish between empty string, null and undefined

  • 5 March 2024
  • 0 replies
  • 43 views

Is there some recommended way to handle/distinguish between unprovided data (null/undefined) and empty data (empty string) while developing custom actions?

Endpoint handles not-provided data as “no not change” and provided data as “change” and empty strings are valid values. I can, of course, do it by having a boolean field next to every data field, but it feels too nasty...


0 replies

Be the first to reply!

Reply