john-kelly / elm-postgrest

Make PostgREST requests in Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nullable Fields

john-kelly opened this issue · comments

http://package.elm-lang.org/packages/NoRedInk/elm-decode-pipeline/2.0.0/Json-Decode-Pipeline#nullable

Likely we'll want this to be a new type of field. Reason being that we don't want users to have to do things like:

|> filter [ .name |> eq (Just "john") ]

we want:

|> filter [ .name |> eq "john" ]

need to explore this.

Does null=null in SQL?