You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Luminus
Hi,
The idea of code sharing by cljc is certainly nice. On the other hand server side validation logic is exposed to client is that a concern?
Thanks.
Dmitri
unread,
Jun 6, 2021, 2:52:01 PM6/6/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Luminus
What ends up being shared is defined by the developer, so I don't see too much concern there. The main use case here is in cases where you want to do client side validation of the input before sending it to the server to improve user experience and optimize network load. Writing validation once is much better in this scenario since you won't have to maintain duplicate logic.