CommandManager commandManager = service.newCommandManager();
commandManager.registerConverter(Key.of(Foo.class), new FooConverter());
topLevelCommandManager.registerManager(componentManager);
This currently fails (i.e. commandManager is unable to resolve Foo) as the topLevelCommandManager is the only CommandManager who's converters are used.
This currently fails (i.e.
commandManager
is unable to resolveFoo
) as thetopLevelCommandManager
is the onlyCommandManager
who's converters are used.