Always use Json.Decode.Extra.optionalField
or optionalNullableField
#167
ad-si
started this conversation in
Rule ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is basically always what you want (and not
Json.Decode.maybe
)Docs: https://package.elm-lang.org/packages/elm-community/json-extra/latest/Json-Decode-Extra#optionalField
Beta Was this translation helpful? Give feedback.
All reactions