skunk icon indicating copy to clipboard operation
skunk copied to clipboard

Codecs for Native and JS types

Open aponos opened this issue 1 year ago • 2 comments

Hi 👋!

I would like to contribute, adding some codecs for the Native and JS platforms. For example, the bytea type can also be converted to JS UInt8Array.

I just have one question regarding the code style of skunk. Those codecs should be included in the core project? Or it is better to have them in their own project, like the circe and refined codecs?

aponos avatar Aug 24 '24 02:08 aponos

Yeah, core project makes sense to me. Feel free to open a draft PR to get some feedback before doing a whole bunch of codecs.

mpilquist avatar Aug 24 '24 14:08 mpilquist

Thank you for your response @mpilquist!

I have opened the draft PR, exposing the idea of the UInt8Array to bytea codec, as a showcase to add more codecs if everything is ok. What do you think about the package scalajs.codec and the codec name?

ghost avatar Aug 25 '24 02:08 ghost