-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: the async configuration example given in nestjs-module emits an error #215
Comments
Currently, the With that said, it may be a better idea to make this a custom interface that can be written as export interface OgmaStream {
write: (message) => void,
hasColors?: () => boolean
} And have a default for Shouldn't be too hard of a change, would you like to tackle it in a PR? |
The log methods now accept an object instead of multiple parameters to allow for the passing of extra keys. These keys can be anything, from cloud-provider to anything else you want to add. There's also a lot of refactoring and making some new interfaces for cleaner passing of parameters BREAKING CHANGE: log methods now take an object as the second parameter instead of having 3 extra optional parameters fix #215 #228 #297
The log methods now accept an object instead of multiple parameters to allow for the passing of extra keys. These keys can be anything, from cloud-provider to anything else you want to add. There's also a lot of refactoring and making some new interfaces for cleaner passing of parameters BREAKING CHANGE: log methods now take an object as the second parameter instead of having 3 extra optional parameters fix #215 #228 #297
Added to v0.4.0. This will most likely be the last pre v1 version. Thanks for the idea |
The log methods now accept an object instead of multiple parameters to allow for the passing of extra keys. These keys can be anything, from cloud-provider to anything else you want to add. There's also a lot of refactoring and making some new interfaces for cleaner passing of parameters BREAKING CHANGE: log methods now take an object as the second parameter instead of having 3 extra optional parameters fix #215 #228 #297
@jmcdo29 In my case I have some other errors using Async Config:
as well ass everything I've pretty match copy-pasted the code additionally had to install @nestjs/config. any ideas? |
Bug Report
Current behavior
The following sample code
Throws the following error:
Expected behavior
The example should work flawlessly
Possible Solution
To fix the errors I had to do the following:
Environment
The text was updated successfully, but these errors were encountered: