You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gifDecoder : Decoder String
gifDecoder =
field "data" (field "images" ( field "original" ( field "url" string )))
I didn't do a PR because it would necessitate changing the prose to match the code as well. I guess clicking the "Edit" button gets around this since that code has this fix, so maybe this is not a needed change since beginners are more likely to click the edit button?? If you want to explain the slightly more complex example that matches the current giphy API, I'd be happy to do a PR on the prose, but wanted to check first ;). I think a good solution that is future-proof would be to host a JSON API and the image urls at elm-lang.org as with the HTTP text example or (less future-proof) use a different public API with a singly nested structure.
-Jon
The text was updated successfully, but these errors were encountered:
Please fill in the following information:
Current:
Should be:
I didn't do a PR because it would necessitate changing the prose to match the code as well. I guess clicking the "Edit" button gets around this since that code has this fix, so maybe this is not a needed change since beginners are more likely to click the edit button?? If you want to explain the slightly more complex example that matches the current giphy API, I'd be happy to do a PR on the prose, but wanted to check first ;). I think a good solution that is future-proof would be to host a JSON API and the image urls at elm-lang.org as with the HTTP text example or (less future-proof) use a different public API with a singly nested structure.
-Jon
The text was updated successfully, but these errors were encountered: