Something maybe I just don't understand ... whats'...
# sdf
d
Something maybe I just don't understand ... whats' the difference between client-side and server-side validation?
I assume client-side just validates that all the .xml's are formatted correctly, while server-side compare the xml's against the target account?
n
Right. There's basically a local integrity check, then there's a server-side pre-flight check and then there's the in-process errors.
I think the local integrity is a bit beyond checking for XML malformations, things such as dependency references compared to the manifest, but it's certainly not comprehensive
a
Client side validation goes beyond integrity check, it also tries to check values etc in XML, it sometimes gives some false positives and we are aware of this. It uses metadata included in the tool. which sometimes gets out of sync with latest changes in server side. The more reliable is server side validation which can be triggered by passing
--server
flag
d
So, avoid using
--validate
with the
deploy
command?