Open ezra-chu opened 5 years ago
not sure i understand what you're trying to do. consul is always going to return all of the services when something changes (not just the one(s) that changed), so i'm not sure why it matters if you get the callback with a list or not?
Have a requirement for watching list of services
/v1/catalog/services
. Trying to put together a PR, running into an issue. This is what I'm trying to do:I need
CallbackConsumer
to be able to handle this case as a single object, not as a list. Thinking about expanding to an abstract class like so:Blundering through the codebase and probably missing a lot here, would love some feedback and direction on how best to accomplish this.
Thanks in advance, and thanks for the great lib!