In this session I work out what went wrong in my last video, successfully decoding a JSON field that contains a string to its boolean representation. 🎉
I make sure the tests are working, add more, and then ensure multiple fields and the main string to bool function are independently tested from the Model decoding.
https://gleam.run
https://github.com/lustre-labs/lustre
It all started after I watched Kris Jenkin’s excellent chat with Louis Pilfold, Gleam’s creator, on Developer Voices:
https://www.youtube.com/watch?v=RntfkL8lUY4
—
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
