Since updating to beta 11 I get the following error
AUR0017:InterfaceSymbol<IHttpClient>
at createMappedError (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:80:40)
at createNewInstance (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:1254:15)
at eval (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:1241:54)
at Resolver.resolve (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:1174:20)
at Container.get (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:629:22)
at Container.containerGetKey (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:871:17)
at Array.map (<anonymous>)
at Factory.construct (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:843:56)
at Resolver.resolve (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:1283:57)
at Container.get (webpack-internal:///./node_modules/@aurelia/kernel/dist/esm/index.mjs:642:34)
when using this code:
export class ApiService {
http = resolve(newInstanceOf(IHttpClient))
}
Ahh there wasnt a test covering that injection, so in a refactoring to ensure injecting IhttpClient would yield the same instance with HttpClient regardless whats injected first, this bug was ibtroduced. Will fix it soon. Part of this is b3cause the way the fetch client package is used: its used without a registration so we dont have any opportunity to register all the symbols.
For now you can do newInstanceOf(HttpClient) instead. Sorry for the issue!