But the updated import introduces another compiler error since now required becomes ambiguous (Html.Attributes.required vs Json.Decode.Pipeline.required)
We need to update all instances of required to Json.Decode.Pipeline.required to make the compiler happy.
In Chapter 5 (section 5.1.1) it says
This is only true, if we have
although in the previous chapter we ended with
But the updated import introduces another compiler error since now
required
becomes ambiguous (Html.Attributes.required
vsJson.Decode.Pipeline.required
)We need to update all instances of
required
toJson.Decode.Pipeline.required
to make the compiler happy.