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
We make extensive use of toS for type conversions and seem like there were changes in recent release of protolude with respect to the way toS works and eliminates a few conversions that are "partial".
it no longer converts from/to Lazy-ByteStrings to ByteStrings.
it no longer converts from/to ByteStrings to Strings/Text.
It looks like the following approach would work:
for the second one, we need to use encodeUtf8 or decodeUtf8.
For the former, we need to replace the use of toS with toStrict/fromStrict as appropriate.
Are there better ways to deal with it?
The text was updated successfully, but these errors were encountered:
We make extensive use of
toS
for type conversions and seem like there were changes in recent release of protolude with respect to the waytoS
works and eliminates a few conversions that are "partial".It looks like the following approach would work:
encodeUtf8
ordecodeUtf8
.toS
withtoStrict/fromStrict
as appropriate.Are there better ways to deal with it?
The text was updated successfully, but these errors were encountered: