Closed justinwoo closed 7 years ago
Updated this to actually require that the field be null
and not just undefined
, throwing a type mismatch error of Nullable a
Undefined
in that case.
Looks good, but shouldn't -foreign provide readNullable
?
Nullable is from https://pursuit.purescript.org/packages/purescript-nullable/3.0.0/docs/Data.Nullable and it doesn't really come with anything though
Looks good.