This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle properties of complex Metadata types
`force-dev-tool changeset create` now handles properties of complex Metadata types. Complex Metadata types can contain other Metadata types (e.g. a `CustomObject` can contain a `CustomField`) - changing **independent** children was already handled by `force-dev-tool changeset create` by creating a deployment with only the `CustomField` instead of the whole `CustomObject`. However complex Metadata types can also have properties (e.g. a `CustomObject` has a `description`) and changing these properties was currently not handled. When changing the `description` of a `CustomObject` force-dev-tool now creates a deployment with the `CustomObject` but only containing the properties without the named/independent child Metadata components. The following exemplary changes should now be picked up correctly: - changing the `description` of a CustomObject/Profile - changing the `searchLayouts` of a CustomObject This PR introduces a brand new suite for functional testing of `force-dev-tool changeset create` and is based on simulating a Git history with typical changes to Metadata. See `test-functional/README.md` to get started. This closes #13, closes #90, closes #137.
- Loading branch information
Showing
261 changed files
with
19,859 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ doc | |
coverage | ||
npm-debug.log | ||
.vagrant | ||
.orgs.json | ||
.sfdx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
#242