4 ms·
This seems like a show stopper to me. The inability to have server side validation means there's no way to control access to things, meaning you have to fall ba
by phleet 15y ago
This seems like a show stopper to me. The inability to have server side validation means there's no way to control access to things, meaning you have to fall back to security through obscurity.
What would be really cool is if instead of a python backend, this had a node backend that used the client side validation mechanism server side to allow server-side validation without needing to duplicate the code. This could theoretically be done transparently if all the classes were named by convention.
- mbell 15y agoDependent on the language I would think you could add annotation style based validations to the client side code that would be automatically picked up by the deployment system and hence applied to the server side logic. That said I don't (at least to my knowledge) believe that is possible with javascript without modifying the actual client code to fit an api.