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 unflatten command adds an extra set of square brackets around the value of string and numeric arrays, which means that the resulting data returns an invalid type error when validated against the schema.
I'm pretty sure this is a new issue because I don't recall it being a problem when unflattening OCDS releases, in which tag is an array of strings.
I've provided a minimal example below to reproduce the issue.
The
unflatten
command adds an extra set of square brackets around the value of string and numeric arrays, which means that the resulting data returns an invalid type error when validated against the schema.I'm pretty sure this is a new issue because I don't recall it being a problem when unflattening OCDS releases, in which
tag
is an array of strings.I've provided a minimal example below to reproduce the issue.
Input:
Schema:
Command
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: