You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under the "Default Transformation" section there is an array listed as "SupportedVersions" that says the default transformation for arrays is append but when going to the "Replace" section, it does not show how to replace an array.
Let's assume I have 2 appsettings.json files that need merged so that the SupportedVersions array is replaced when listed under the Settings section.
First file
{
"Settings": {
"SupportedVersions" : [1, 2]
}
}
Second file
{
"Settings": {
"SupportedVersions" : [3, 4]
}
}
Expected output
{
"Settings": {
"SupportedVersions" : [3, 4]
}
}
I can get this to work by using the following but is there an easier way that I can't find in the documentation? This works but is long
Under the "Default Transformation" section there is an array listed as "SupportedVersions" that says the default transformation for arrays is append but when going to the "Replace" section, it does not show how to replace an array.
Let's assume I have 2 appsettings.json files that need merged so that the SupportedVersions array is replaced when listed under the Settings section.
First file
Second file
Expected output
I can get this to work by using the following but is there an easier way that I can't find in the documentation?
This works but is long
The text was updated successfully, but these errors were encountered: