-
Notifications
You must be signed in to change notification settings - Fork 103
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
Wr/overwrite object file #1338
Merged
Merged
Wr/overwrite object file #1338
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a8c17ee
test: add UT to verify behavior - TDD
WillieRuemmele 3a6c2a2
test: update UT - not passing
WillieRuemmele 429d1ae
fix: selectively write the parent
WillieRuemmele a3542e2
Merge branch 'main' into wr/overwriteObjectFile
WillieRuemmele 1a86def
chore: cleanup snapshots
WillieRuemmele File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
41 changes: 41 additions & 0 deletions
41
...Projects/mpdWithLabels/__snapshots__/verify-md-files-after-recomposing.actual/package.xml
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why did this one change? |
||
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<types> | ||
<members>FooBar</members> | ||
<members>FooBarTest</members> | ||
<members>MyAppTest</members> | ||
<members>MyTest</members> | ||
<members>force</members> | ||
<members>my</members> | ||
<name>ApexClass</name> | ||
</types> | ||
<types> | ||
<members>Account.asdf__c</members> | ||
<members>Case.myfield__c</members> | ||
<members>MyObj__c.MyField__c</members> | ||
<name>CustomField</name> | ||
</types> | ||
<types> | ||
<members>force_app_Label_1</members> | ||
<members>force_app_Label_2</members> | ||
<members>my_app_Label_1</members> | ||
<name>CustomLabel</name> | ||
</types> | ||
<types> | ||
<members>CustomLabels</members> | ||
<name>CustomLabels</name> | ||
</types> | ||
<types> | ||
<members>MyObj__c</members> | ||
<name>CustomObject</name> | ||
</types> | ||
<types> | ||
<members>MyObj__c</members> | ||
<name>CustomTab</name> | ||
</types> | ||
<types> | ||
<members>mycomponent</members> | ||
<name>LightningComponentBundle</name> | ||
</types> | ||
<version>61.0</version> | ||
</Package> |
132 changes: 132 additions & 0 deletions
132
...force-app.expected/force-app/main/default/layouts/Broker__c-Broker Layout.layout-meta.xml
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 |
---|---|---|
@@ -0,0 +1,132 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Layout xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<excludeButtons>Submit</excludeButtons> | ||
<layoutSections> | ||
<customLabel>true</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Picture</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>Picture_IMG__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Picture__c</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>OneColumn</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>Name</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Title__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Email__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>test__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>aab__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>a__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>b__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>tester__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>d__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>testing__c</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Phone__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Mobile_Phone__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>OwnerId</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>System Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>CreatedById</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>LastModifiedById</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>true</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Custom Links</label> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<style>CustomLinks</style> | ||
</layoutSections> | ||
<relatedLists> | ||
<fields>NAME</fields> | ||
<fields>Address__c</fields> | ||
<fields>Price__c</fields> | ||
<fields>Beds__c</fields> | ||
<fields>Baths__c</fields> | ||
<relatedList>Property__c.Broker__c</relatedList> | ||
</relatedLists> | ||
<showEmailCheckbox>false</showEmailCheckbox> | ||
<showHighlightsPanel>false</showHighlightsPanel> | ||
<showInteractionLogPanel>false</showInteractionLogPanel> | ||
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox> | ||
<showSubmitAndAttachButton>false</showSubmitAndAttachButton> | ||
<summaryLayout> | ||
<masterLabel>00hR0000001UMHM</masterLabel> | ||
<sizeX>4</sizeX> | ||
<sizeY>0</sizeY> | ||
<summaryLayoutStyle>Default</summaryLayoutStyle> | ||
</summaryLayout> | ||
</Layout> |
8 changes: 8 additions & 0 deletions
8
...ce-app.expected/force-app/main/default/objects/Broker__c/fields/testing__c.field-meta.xml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>testing__c</fullName> | ||
<externalId>false</externalId> | ||
<label>testing</label> | ||
<trackTrending>false</trackTrending> | ||
<type>AutoNumber</type> | ||
</CustomField> |
132 changes: 132 additions & 0 deletions
132
...-meta-xml.expected/force-app/main/default/layouts/Broker__c-Broker Layout.layout-meta.xml
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 |
---|---|---|
@@ -0,0 +1,132 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Layout xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<excludeButtons>Submit</excludeButtons> | ||
<layoutSections> | ||
<customLabel>true</customLabel> | ||
<detailHeading>true</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Picture</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>Picture_IMG__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Picture__c</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>OneColumn</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>Name</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Title__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Email__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>test__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>aab__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>a__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>b__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>tester__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>d__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>testing__c</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Phone__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>Mobile_Phone__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>OwnerId</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>System Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>CreatedById</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>LastModifiedById</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</style> | ||
</layoutSections> | ||
<layoutSections> | ||
<customLabel>true</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Custom Links</label> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<style>CustomLinks</style> | ||
</layoutSections> | ||
<relatedLists> | ||
<fields>NAME</fields> | ||
<fields>Address__c</fields> | ||
<fields>Price__c</fields> | ||
<fields>Beds__c</fields> | ||
<fields>Baths__c</fields> | ||
<relatedList>Property__c.Broker__c</relatedList> | ||
</relatedLists> | ||
<showEmailCheckbox>false</showEmailCheckbox> | ||
<showHighlightsPanel>false</showHighlightsPanel> | ||
<showInteractionLogPanel>false</showInteractionLogPanel> | ||
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox> | ||
<showSubmitAndAttachButton>false</showSubmitAndAttachButton> | ||
<summaryLayout> | ||
<masterLabel>00hR0000001UMHM</masterLabel> | ||
<sizeX>4</sizeX> | ||
<sizeY>0</sizeY> | ||
<summaryLayoutStyle>Default</summaryLayoutStyle> | ||
</summaryLayout> | ||
</Layout> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.