Create YamlFileReader from String (and not only from file)

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Start by locating YamlFileReader and the tests or callers that construct it from a File or Path. Clarify whether string input should be added without renaming the class, and consider the compatibility implications before defining what a completed change would include.

Written by the indexing model from the issue text.

Description

Offer a functionality to create a YamlFileReader from a String rather than a File/Path. Interesting for testing or for other usages where the YAML comes from a source other than a file. Probably means removing the Path path field from YamlFileReader, and then the name of YAML file reader would no longer be fully accurate? So maybe better to put this on the back burner or to only do it for ConfigMe 2.0 so we could potentially rename the class as well

Dominant language
Java
Stars
44
Forks
21
Avg merge
2d 2h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AuthMe/ConfigMe

All issues in AuthMe/ConfigMe

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.