microsoft / microsoft/json-document-transforms
Tranformation help
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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