Skip to content

Towards removing this repo #209

@labra

Description

@labra

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.
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions