question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

Feathers server has the option to filter channels dynamically. FeathersVuex should have this option too, instead of forcing the api to persist the filter rules and the client to “ask” for those events, the client could discard the undesired events.

what about allow the enableEvents prop receive a boolean or a map?

enableEvents = boolean (yes or no for all methods)

or

enableEvents = {
  create: function or boolean,
  update: function or boolean,
  patch: function or boolean,
  remove: function or boolean
}

The function returns a boolean indicating dinamically if the client want to store that record locally.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
marshallswaincommented, Dec 21, 2019

This has been released in feathers-vuex@3.1.0. Thanks @barata0 for the great idea!

Read more about it in the docs: https://vuex.feathersjs.com/service-plugin.html#service-events

0reactions
barata0commented, Dec 24, 2019

Awesome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Are Socket Filters and What Do They Do?
A socket filter is a means to listen to a particular network socket and communicate with an application. In Cisco AnyConnect's case, ...
Read more >
Socket Filters - Apple Developer
A socket filter is a filter associated with a particular socket, as shown in Figure 4-1. These extensions can filter inbound or outbound ......
Read more >
VPN, Cisco AnyConnect Socket Filter for Mac OS Big Sur and ...
AnyConnect uses a network system extension on macOS 11, bundled into an application named Cisco AnyConnect Socket Filter.
Read more >
Definition of socket filter - PCMag
A packet filter that is associated with a particular TCP/IP socket. See packet filter and TCP/IP socket. Advertisement ...
Read more >
Linux Socket Filtering aka Berkeley Packet Filter (BPF)
BPF allows a user-space program to attach a filter onto any socket and allow or disallow certain types of data to come through...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found