Describe the bug
A user reported serialization issues while using the guardrails server when Filter, Reask, or Refrain were present in the guard history.
To Reproduce
Setup a guard that will return one of the above.
Expected behavior
All classes within ValidationOutcome and guard history (i.e. Call and its children), should serialize and deserialize without issue.
I am able to replicate this issue. It occurs when fetching the Guard history. We need to add custom serialization for these in ValidatorLogs. Specifically on the value_after_validation property.
Describe the bug A user reported serialization issues while using the guardrails server when Filter, Reask, or Refrain were present in the guard history.
To Reproduce Setup a guard that will return one of the above.
Expected behavior All classes within ValidationOutcome and guard history (i.e. Call and its children), should serialize and deserialize without issue.
Library version: 0.5.0