ably-js icon indicating copy to clipboard operation
ably-js copied to clipboard

Feature request: validation keys for ChannelOptions, ClientOptions, and plugins

Open SimonWoolf opened this issue 3 years ago • 0 comments

We just discovered that some of the Delta docs wrongly specified channels.get(channelName, {delta: 'vcdiff'}) instead of channels.get(channelName, {params: {delta: 'vcdiff')}}. I'm guessing Tom in writing the docs tried the former, but it seemes do work fine and didn't error, so assumed it was correct. Would be nice if ably-js errored if you pass a nonexistent key into channel or client options, to catch those mistakes earlier.

┆Issue is synchronized with this Jira Task by Unito

SimonWoolf avatar Feb 09 '22 13:02 SimonWoolf