microsoft / microsoft/json-document-transforms

Tranformation help

Open
#26 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
115
Forks
39
PR merge metrics
No merged PRs in 30d

Description

I'm transforming to intermediary values, not the final values;
I'm unable to transform this:

"ClientStoreExpiration": 300,

into this:

"ClientStoreExpiration": $IdentityServerClientStoreExpiration,

Is this possible?

When it's a string there is no problem because it sits inside quotes, ex:

"UserStoreUrl": "http:\\localhost" into "UserStoreUrl": "$UserStoreUrl"

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.

Research direction

Reproduce the transformation using the numeric ClientStoreExpiration example and compare it with the quoted UserStoreUrl case. Trace how intermediary values are handled in the repository, then define and verify behavior for substituting an unquoted numeric value; the issue is done when the requested transformation works with appropriate coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.