You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't found an easy way to register a controller with a list of namespaces.
Planning to add some workaround:
operator.register(controller, overrider -> {
String[] watchedNamespaces = new String[]{"ns1","ns2"};
String fakeNs = UUID.randomUUID().toString();
overrider.settingNamespace(fakeNs); // <-clears the default, adds a fake
overrider.addingNamespaces(watchedNamespaces);
overrider.removingNamespaces(fakeNs);}); // <-removes the fakse
Basically I'm missing some methods that clear the default then override the namespaces with multiple values: overrider.settingNamespaces(String... namespaces) overrider.settingNamespaces(Set<String> namespaces)
Let me know if I'm missing something here.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Hi Folks,
I haven't found an easy way to register a controller with a list of namespaces.
Planning to add some workaround:
Basically I'm missing some methods that clear the default then override the namespaces with multiple values:
overrider.settingNamespaces(String... namespaces)
overrider.settingNamespaces(Set<String> namespaces)
Let me know if I'm missing something here.
The text was updated successfully, but these errors were encountered: