I notice in our current IDL, this member is marked as String? indicating that it's optional. I think that is incorrect.
Also, there was an interesting internal Slack conversation where the allowable characters for channel names was exposed as a regular expression by @SimonWoolf:
/^([^\:\,\s\[].*)$/, eg can't start with a colon or open-bracket, can't be the empty string, can't contain any newlines
That should perhaps be documented in the specification.
Finally, we might consider having a method available client-side that allows SDK users to validate channel names before sending them to the service. In the aforementioned Slack thread ☝️ @lmars and @ikbalkaya discussed briefly the idea of a method along these lines, perhaps called something like isClientIdValid().
I notice in our current IDL, this member is marked as
String?
indicating that it's optional. I think that is incorrect.Also, there was an interesting internal Slack conversation where the allowable characters for channel names was exposed as a regular expression by @SimonWoolf:
That should perhaps be documented in the specification.
Finally, we might consider having a method available client-side that allows SDK users to validate channel names before sending them to the service. In the aforementioned Slack thread ☝️ @lmars and @ikbalkaya discussed briefly the idea of a method along these lines, perhaps called something like
isClientIdValid()
.┆Issue is synchronized with this Jira Task by Unito