pharo-nosql / mongotalk

A Pharo driver for MongoDB
MIT License
19 stars 13 forks source link

Remove Grease as dependency? #74

Open tinchodias opened 4 years ago

tinchodias commented 4 years ago

The BaselineOfMongoTalk loads Grease as a requirement for Mongo-Squeak. The dependency checker shows that effectively that's the only package that references Grease, more exactly the GRCodec class (with GRCodec forEncoding: 'utf8'). Probably there is some alternative to avoid depending on Grease.

tinchodias commented 4 years ago

This is how the codec is used from LittleEndianStream class (Mongo-BSON package):

^ GratuitousIncompatibilities utf8Codec decode: string.

Probably it can be rewritten with ByteArray>>utf8Decoded.

tinchodias commented 4 years ago

Very close to #72.