
elm.customTypeEncoder.mustache Maven / Gradle / Ivy
The newest version!
{{vendorExtensions.elmEncoder}} : {{vendorExtensions.elmCustomType}} -> Encode.Value
{{vendorExtensions.elmEncoder}} model =
case model of
{{#allowableValues}}
{{#enumVars}}
{{name}} ->
Encode.string {{{value}}}
{{/enumVars}}
{{/allowableValues}}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy