You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The to_json() function removes empty fields and thus removed the name. However this field is required when using create_record making it impossible to create an apex level record.
The text was updated successfully, but these errors were encountered:
For more context on why we haven't moved ahead on this yet, even though it seems simple on the surface:
If we get rid of omitempty, updating a record would zero out the record name while updating the content (if name is not supplied). To fix this would be a change of behaviour and points to an underlying design flaw in the current implementation. It would be preferable for us to require the entire hostname, instead of the smaller name attribute.
Hey, when trying to create a record at the apex I get a 400:
Here is the code:
The
to_json()
function removes empty fields and thus removed thename
. However this field is required when usingcreate_record
making it impossible to create an apex level record.The text was updated successfully, but these errors were encountered: