We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9a6a2 commit 31a96fcCopy full SHA for 31a96fc
src/Data/Schematic/Validation.hs
@@ -151,9 +151,8 @@ validateJsonRepr sschema dpath jr = case jr of
151
let newPath = dpath <> [Key (knownFieldName f)]
152
validateJsonRepr (knownFieldSchema f) newPath d
153
go ftl
154
- ReprUnion ru -> -- pure () -- FIXME
155
- case sschema of
156
- SSchemaUnion su -> validateUnion su ru
+ ReprUnion ru -> case sschema of
+ SSchemaUnion su -> validateUnion su ru
157
where
158
validateUnion
159
:: forall (us :: [Schema])
0 commit comments