-
Notifications
You must be signed in to change notification settings - Fork 56
Add shallowMerge function
#1274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add shallowMerge function
#1274
Conversation
| [shallowMerge( | ||
| createArray( | ||
| createObject('host', 'localhost', 'port', 8080), | ||
| createObject('port', 9000, 'ssl', true()) | ||
| ) | ||
| )] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to define the array of objects as a variable making it easier to visualize. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-object#example-9, but I like your values better to show a real example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a nit comment?
132908a to
bb96f85
Compare
…s://github.com/Gijsreyn/operation-methods into PowerShellgh-57/main/add-shallowmerge-function
PR Summary
This pull request adds the
shallowMergefunction, including its reference documentation. Also documented thetryWhich().PR Context
Partially addresses #57.