I like what do did with this plugin!
A while ago I developed something similar for my company, but I think this plugin has more features.
One feature that I am missing though is that this plugin is depended on a hardcoded list of metadata.
In my plugin I have the option to connect to the target environment and retrieve the available metadata objects:
With something like:
interface MetadataObject {
childXmlNames: string[];
directoryName: string;
inFolder: boolean;
metaFile: boolean;
suffix: string;
xmlName: string;
}
const conn = <Connection>this.org.getConnection();
let metadataDescribe: MetadataObject[] = [];
await conn.metadata.describe(conn.version, function (err, metadata) {
metadataDescribe = metadata.metadataObjects;
});
Do you think this is something that can be added to your plugin?
Hi @wimvelzeboer
Thanks for your interest on the plugin and thanks for this very relevant suggestion.
This is something we considered at the early stage of the project.
Let me explain why we chose not to follow this path :
Now that it is said 馃槄 I hope it is a little bit clearer. I think added this could be done, involving changes in the design and refactoring. I would be very happy to do this kind of design and development in collaboration with anyone (@wimvelzeboer you're welcome 馃槈 ) following our contribution guidelines, if this requirement get tractions from the community and its drawbacks are accepted/mitigated.
Please, if anyone want the plugin to have this behaviour, let us know your thoughts here and how you would like the feature to be shaped !
Most helpful comment
Hi @wimvelzeboer
Thanks for your interest on the plugin and thanks for this very relevant suggestion.
This is something we considered at the early stage of the project.
Let me explain why we chose not to follow this path :
Now that it is said 馃槄 I hope it is a little bit clearer. I think added this could be done, involving changes in the design and refactoring. I would be very happy to do this kind of design and development in collaboration with anyone (@wimvelzeboer you're welcome 馃槈 ) following our contribution guidelines, if this requirement get tractions from the community and its drawbacks are accepted/mitigated.
Please, if anyone want the plugin to have this behaviour, let us know your thoughts here and how you would like the feature to be shaped !