#Dynamic Decoding Best Practices

1 messages · Page 1 of 1 (latest)

wild plaza
#

I've gone through the decoder growing pains with my project nbeet going from gleam/dynamic.decodeN to the decode package to decode/zero now to gleam/dynamic/decode. I had the realization today, would it be best for my package to just return a Dynamic rather than actually run the decoder for you, so you can use whatever decoder you want? Or are we pretty set on gleam/dynamic/decode being our go to as a community?

clever otter
#

Thats it now, thats the decoding api everyone should use

wild plaza
#

Thanks Hayleigh! That’s a load off my shoulders to hear 😅