Reproduction
func cannot choose between multiple unknown-command fallbacks:
src/app.module.ts
import { CommandMissing, Container } from 'func'
@CommandMissing()
class FirstMissing {}
@CommandMissing()
class SecondMissing {}
new Container([FirstMissing, SecondMissing])How to fix it
Register exactly one missing command and consolidate the fallback behavior there:
src/app.module.ts
@CommandMissing()
class MissingCommand {}
new Container([MissingCommand])