Skip to content

Commit 31a96fc

Browse files
committed
Upd: clean
1 parent 2f9a6a2 commit 31a96fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Data/Schematic/Validation.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ validateJsonRepr sschema dpath jr = case jr of
151151
let newPath = dpath <> [Key (knownFieldName f)]
152152
validateJsonRepr (knownFieldSchema f) newPath d
153153
go ftl
154-
ReprUnion ru -> -- pure () -- FIXME
155-
case sschema of
156-
SSchemaUnion su -> validateUnion su ru
154+
ReprUnion ru -> case sschema of
155+
SSchemaUnion su -> validateUnion su ru
157156
where
158157
validateUnion
159158
:: forall (us :: [Schema])

0 commit comments

Comments
 (0)