john-kelly / elm-postgrest

Make PostgREST requests in Elm
109 stars 14 forks source link

Change field name used in json decoder #16

Closed john-kelly closed 7 years ago

john-kelly commented 7 years ago

Mostly field names will match record fields, but sometimes they might not, so having an ability to name them differently to the name of the field in the Elm record could be useful.

https://groups.google.com/forum/#!topic/elm-discuss/igxYW0Q3Clw

john-kelly commented 7 years ago

This actually works already!