Are IDs suitable channel names?


#1

I see that there are restrictions on what characters can be used in channel names:

Valid channel names consist of text letters [A–Z, a–z], digits [0–9], and a few special characters [= + / . , _ @]

Are couchbase (and couchbase-lite) generated document ID’s guaranteed to be safe to use in channel names?


#2

I don’t think so, since IDs use the - (dash) character, which is not included in the list.