Superposition is a context-based configuration management system designed to facilitate safe and flexible rollout of config changes
20
stars
6
forks
source link
fix: handled parsing for multiple possible types #134
Closed
ShubhranshuSanjeev closed 1 week ago
Problem
Parsing failed for values when type mentioned in schema had multiple value such as
{ type: ["null", "string"] }
.Solution
Try parsing for all possible types mentioned in the
type
property, return the parsed value for whichever type it succeeds