I tried to move some of my Methods to the ValidatedMethod format. The file which defines the methods imports a method from a file located in a “server” directory, i.e not loaded at the client.
After I switched to the ValidatedMethod, the page crashed because it didn’t found the file.
When I moved the file out from this directory everything worked as expected.
I wonder why this didn’t happened with the traditional .call implementation.
I don’t really like that this file is loaded at the client as it handles server side only functionality.