Json4s utils: Parametrize NoEmptyValueSupport

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
scala

Research direction

Start by locating the NoEmptyValueSupport trait and its EmptyValueStratery definition, then trace how callers use the strategy. Determine the parameterization needed to let callers choose which replacements apply; done means the trait supports that control without losing its existing use cases.

Written by the indexing model from the issue text.

Description

NoEmptyValueSupport defines a custom EmptyValueStratery that does a few types of replacement, e.g. empty collections, empty strings, nulls etc. Not all use-cases need them all and hence re-usability of this trait is limited.
The caller needs more control on what this strategy is doing.

Affected issue: AbsaOSS/spline-spark-agent#200

Dominant language
Scala
Stars
11
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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 AbsaOSS/commons

All issues in AbsaOSS/commons

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.