Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Problem with collection Metor.users #13

@kjm

Description

@kjm

Hi,
It's good idea to have such functionality, thx.

There's a problem with collection served automatically - Meteor.users (by Accounts package).
After install mongo-collection-instances this one collection is no more instanceof Mongo.collection.
This causes that tests like below fails

if (!(options.collection instanceof Mongo.Collection)) {
throw new Error('Tabular.Table options must specify collection');
}
or
console.log(Meteor.users instanceof Mongo.Collection); ->> false
console.log( instanceof Mongo.Collection); ->> true

Any tips how to resolve this? :)

Best regards
Konrad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions