Webhook fails if optional fields are empty

(#5053) Bug Open: Needs triage

Thread

Comment by xinayder
xinayder OP1 vote
IMO, empty strings in the API fields should be treated as if the field is null/does not exist. In golang, you can add a tag to the JSON parser called omitifempty, meaning it will just delete the field if its value is empty. Not sure if something similar exists in Rust.