bug: TypeError: Cannot use 'in' operator to search for 'contentTopics' in undefined
when creating subscription
#2022
Labels
bug
Something isn't working
This is a bug report
Problem
The current docs indicate this way of subscribing to a topic:
However with the current version of the lib, the internal function
shardInfoToPubsubTopics()
throws:TypeError: Cannot use 'in' operator to search for 'contentTopics' in undefined
as its argumentshardInfo
is undefined.This code worked in previous versions.
I see there is a
pubsubTopics
field when creating the node but the use case here is dynamic topics not known at the time of constructing the node.The text was updated successfully, but these errors were encountered: