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
With the new pre-release version of dove (5.0.0-pre.17) and the use of Typescript, we can no longer set etag, query parser etc. in an Express application after we have defined the settings generic, during the definition of the application.
Steps to reproduce
With the new pre-release version of dove (5.0.0-pre.17) and the use of Typescript, we can no longer set
etag
,query parser
etc. in an Express application after we have defined the settings generic, during the definition of the application.Example
We now get the following errors:
Expected behaviour
We don't get any error when we set those properties.
Actual behaviour
Build will fail if we don't extend the setting generic with Record<string, any>. All other approaches like using won't fix this.
If we extend with any, we have the same behaviour as before this release. That means we get for configuration the type any.
System configuration
feathersjs: all packages 5.0.0-pre.17
NodeJS version: 16.3.2
Operating System: MacOS 12.2.1
Module Loader: typescript / commonjs
The text was updated successfully, but these errors were encountered: