I wonder if this repo is really necessary. At the end, the repo is mostly a "catch-all" repo which contains different utilities for different purposes.
I think this is really an anti-pattern and will try to split the module into other modules/components which have a more clear name and goal.
In this issue we will keep track of the roadmap.
- collectioncompat: will contain the es.weso.internal.utils.CollectionCompat object
typing: Contains a generic Typing type class, it can be extracted to its own repo
validating: contains a generic Checker trait that has been implemented in Cats. It was originally implemented using the Eff library. We will remove this module and create a new checker repo.
utilsTest: this module includes JsonMatchers which are no longer used. We may remove the whole module.
testSuite: this module could be extracted as a single repo
The utils folder contains the following packages:
json: contains several utilities to work with Json entities in Scala like DecoderUtils, JsonCompare, JsonTest and JsonTwirl. We may just create a JsonWeso repo for those utilities
EitherUtils contains two helper methods to work with Either values, sequence and takeSingle. I am not even sure if we use them anymore.
FileUtils contains some helper methods to work with files: getContents, getFileFromFolderWithExt, writeFile, formatLines, etc.
- ...
I wonder if this repo is really necessary. At the end, the repo is mostly a "catch-all" repo which contains different utilities for different purposes.
I think this is really an anti-pattern and will try to split the module into other modules/components which have a more clear name and goal.
In this issue we will keep track of the roadmap.
typing: Contains a genericTypingtype class, it can be extracted to its own repovalidating: contains a genericCheckertrait that has been implemented in Cats. It was originally implemented using theEfflibrary. We will remove this module and create a new checker repo.utilsTest: this module includes JsonMatchers which are no longer used. We may remove the whole module.testSuite: this module could be extracted as a single repoThe
utilsfolder contains the following packages:json: contains several utilities to work with Json entities in Scala likeDecoderUtils,JsonCompare,JsonTestandJsonTwirl. We may just create aJsonWesorepo for those utilitiesEitherUtilscontains two helper methods to work with Either values,sequenceandtakeSingle. I am not even sure if we use them anymore.FileUtilscontains some helper methods to work with files:getContents,getFileFromFolderWithExt,writeFile,formatLines, etc.