elm.customTypeEncoder.mustache Maven / Gradle / Ivy
{{vendorExtensions.x-elm-encoder}} : {{vendorExtensions.x-elm-custom-type}} -> Encode.Value
{{vendorExtensions.x-elm-encoder}} model =
case model of
{{#allowableValues}}
{{#enumVars}}
{{name}} ->
Encode.string {{{value}}}
{{/enumVars}}
{{/allowableValues}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy