Seems like it doesn’t work anymore. Something I should use instead?
findOne() & friends used to automatically _transform() documents so that each document’s “helpers” would exist. Now in Meteor 3, with findOne() (on the client) and findOneAsync() (on the client or server), documents come back sad and lonely, without their friendly helpers.
The source for dburles:collection-helpers is simple, under 20 lines. source for findOneAsync doesn’t show anything super meaningful to me.
Hoping someone else has already figured out a solution here.
Can anyone confirm that this is indeed a sane fix? I’ll push a PR, although the package hasn’t been modified in 10 years or something…again, if anyone knows of a maintained package I might look into, please feel free to let me know