zendesk / sunshine-conversations-javascript

Javascript API for Sunshine Conversations

Home Page:https://smooch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate payload passed to the api methods

lemieux opened this issue · comments

@alavers do you think it would be a good idea to validate right away the format of the payload passed? Unless we think it might be a problem if we updating it on the remote server. My main concern would be having a wrong validation client side and we can't change it unless the client is updated.

But then... we get a bug report and we fix it.