feathersjs-ecosystem / feathers-reactive

Reactive API extensions for Feathers services
MIT License
216 stars 37 forks source link

Need example of match function and sort function in readme #145

Closed lunchboxer closed 5 years ago

lunchboxer commented 5 years ago

Lets say I have the following subscription definition:

const subthings = client
        .service("things")
        .watch({ sorter: mysorter(), match: mymatcher() })
        .find({ query: { category: category._id, $sort: { number: -1 } } })
        .subscribe(things => console.log(things));

Then what exactly should mymatcher and mysorter look like?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Apologies if the issue could not be resolved. FeathersJS ecosystem modules are community maintained so there may be a chance that there isn't anybody available to address the issue at the moment. For other ways to get help see here.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Apologies if the issue could not be resolved. FeathersJS ecosystem modules are community maintained so there may be a chance that there isn't anybody available to address the issue at the moment. For other ways to get help see here.