The compiler output is ambiguous. What is wrong in my code?
error: Type mismatch
┌─ /Users/pascal/Documents/dev/gleam/tuto/app/src/app/models/recipe.gleam:30:40
│
30 │ json.parse(from: json_string, using: recipe_decoder)
│ ^^^^^^^^^^^^^^
Expected type:
decode.Decoder(Recipe)
Found type:
decode.Decoder(Recipe)