microsoft / microsoft/json-document-transforms

Replace all with transform file

Open
#25 0 comments 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 have a JSON file with an object with one property called "Groups", which is an array of objects. In my base JSON, i have 2 objects in the array. for my PROD environment, i want to replace everything in the base JSON file with everything in the PROD transform file, which only has one object in the array. Unless i am missing something, i do not see a way to do that.

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

The issue names a base JSON file, a PROD transform file, and the Groups array, but no repository file, test, or entry point. Start by locating existing array-replacement behavior and its tests. Done means a transform can replace the complete base array with the PROD array.

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
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.