sartography/spiff-arena

Errors thrown when something non-scriptable/serializable is in an expression

Opened this issue · 0 comments

This ticket will have the errors thrown when something non-scriptable/non-serializable is present within expressions. The goal is to improve the trapping and error messages.

Test model - https://dev.app.spiff.status.im/process-models/misc:qa:test-non-serializable-expressions

Tried tuple, dict, datetime object, range and set

tuple, dict and datetime object did not give any error

range gave the error - Object of type range is not JSON serializable
set gave the error - Object of type set is not JSON serializable