ssbc / ssb-meta-feeds

10 stars 0 forks source link

branchStream outputs rootDetails (instead of null) #90

Closed mixmix closed 1 year ago

mixmix commented 1 year ago

Problem: branchStream behaves differently than findOrCreate one returns details for root meta feed, the other doesn't. This PR brings them into line

mixmix commented 1 year ago

I understand your perspective @staltz . I think as a consumer of the module I don't really think/ need to know about those details. All I was hitting was an annoying case where sometimes I had to catch null and not dig into an object. That made my code slightly more annoying