linksplatform / linksplatform/Data.Doublets.Json

Make code more readable

Open
#41 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C# good first issue help wanted
Dominant language
C#
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

- [ ] Move these lines to separate function `SetMarkers`
https://github.com/linksplatform/Data.Doublets.Json/blob/eac0583ca58f992e338352f3e755b4674f479e10/csharp/Platform.Data.Doublets.Json/DefaultJsonStorage.cs#L280-L296
- [ ] Move to separate function `SetMatchers`
https://github.com/linksplatform/Data.Doublets.Json/blob/eac0583ca58f992e338352f3e755b4674f479e10/csharp/Platform.Data.Doublets.Json/DefaultJsonStorage.cs#L298-L299
- [ ] Move to separate function `SetConverters`
https://github.com/linksplatform/Data.Doublets.Json/blob/eac0583ca58f992e338352f3e755b4674f479e10/csharp/Platform.Data.Doublets.Json/DefaultJsonStorage.cs#L309-L316
Note: I have not highlighted all lines you should move. For example there are move converter assign expressions (but in constructor like these) that you must move
put the part of DefaultJsonStorage constructor where markers are assigned to separate function `SetMarkers`. Reason: They are not placed close together

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Open csharp/Platform.Data.Doublets.Json/DefaultJsonStorage.cs and inspect the constructor around lines 280-316, including the linked ranges. Trace all marker, matcher, and converter assignments in the constructor, then group them into SetMarkers, SetMatchers, and SetConverters. Done means the constructor delegates these assignments to the three named functions and the project still builds and its tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.