Skip to content

Dynamic variables set to null are not returned from/sent to API #959

@lpatino10

Description

@lpatino10

Currently, there's an issue where dynamic variables set to null are not serialized/deserialized properly when interacting with the API. An example of this is that the following Workspace object:

{
  "name" : "Pizza app",
  "language" : "en",
  "metadata" : { },
  "description" : "Pizza app",
  "status" : "Available",
  "workspace_id" : "pizza_app-e0f3",
  "learning_opt_out" : false,
  "dialog_nodes": [
    {
      "dialog_node": "dialogNode",
      "context": {
        "dynamic_var": null
      }
    }
  ]
}

would not have its dynamic_var successfully passed to the Assistant service. Similarly, we wouldn't get this property in our Java object if it was set this way in the UI.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions