coasys / ad4m-core-deprecated

The Agent-Centric Distributed Application Meta-ontology or just: Agent-Centric DApp Meta-ontology
31 stars 4 forks source link

Subscribe endpoints should be disabled by default #43

Closed kaichaosun closed 2 years ago

kaichaosun commented 2 years ago

After integrate with capability based request, all the subscribe endpoints are protected with capabilities, which means the UI that use ad4mClient gets error when create it now. Instead, we want when UI got the capability token, it could manually subscribe to specific endpoint.

kaichaosun commented 2 years ago

Related https://github.com/perspect3vism/ad4m/pull/28

kaichaosun commented 2 years ago

Discussed it, we still want to subscribe automatically, but need to print a log, but without throw any exception and block the client.