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
Would require a way / format to specify if the argument is another service or just a string.
// An HTTP client serviceclassHTTPClient{}// An API serviceclassAPI{/** * @param {HTTPClient} client * @param {String} hostname */constructor(client,hostname='localhost'){}}// It would be nice to inject scalar as parameter without having to define a parameter for it.container.registerDefinition('client',HTTPClient);container.registerDefinition('api',API,['client','http://my.domain.com:8080']);
The text was updated successfully, but these errors were encountered:
Would require a way / format to specify if the argument is another service or just a string.
The text was updated successfully, but these errors were encountered: