Closed HyruleConsulting closed 2 months ago
Hi @HyruleConsulting !
Thanks for raising this issue and thanks for contributing in making this project better!
RecordTypes are not deleted because it is in fact not possible via metadata api...
We had to create a specific treatment to handle this use case (cf issue and related PR)
Hi @scolladon Thank you for your response. We will make use of the --ignore-destructive flag and a .destructiveignore file then.
Many thanks for your work on this project, this is a fantastic tool. Closing for now
Kind regards Adam of Hyrule
Issue verification check:
What is the problem?
I have noticed that deletion of Record Types are not being detected by the command and included in the destructiveChanges.xml output. Other metadata types seem to work fine though and this issue is specific to /recordTypes/*
What is the parameter and the value you used with it?
sf sgd source delta --from HEAD^1 --to HEAD --output .
What is the expected result?
destructiveChanges.xml `<?xml version="1.0" encoding="UTF-8"?>