Closed ben-hn closed 2 weeks ago
Not sure if this one is you or nest, but if you don't specify a tag in the registerAsync method, it defaults to default, however I can't seem to get it back using just '@Inject(), only with@Inject('default')`.
registerAsync
default
, only with
Maybe an @InjectDrizzle decorator would do this?
@InjectDrizzle
Inject can't work without the token according to Nest standard. @InjectDrizzle() could be created as a alternative decorator 👍
Not sure if this one is you or nest, but if you don't specify a tag in the
registerAsync
method, it defaults todefault
, however I can't seem to get it back using just '@Inject(), only with
@Inject('default')`.Maybe an
@InjectDrizzle
decorator would do this?