MapColonies / MapColonies/config-server

Check if the condition is required

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

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/MapColonies/config-server/blob/cec662a9f0081178b745415265b46c2b9cf35725/src/schemas/models/schemaManager.ts#L83

https://github.com/MapColonies/config-server/blob/cec662a9f0081178b745415265b46c2b9cf35725/src/schemas/models/schemaManager.ts#L97-L99

it seems like cache key includes isDereferenced value, but its not stored if it is dereferenced.

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

Read src/schemas/models/schemaManager.ts at lines 83 and 97-99, focusing on how the cache key uses isDereferenced and how dereferenced state is stored. Confirm the intended relationship between these values and make the cache behavior consistent, then verify the affected schema-manager behavior with the project's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.