Mongoose warning error

(node:9160) [DEP0079] DeprecationWarning: Custom inspection function on Objects via. () is deprecated

how to deal with it?

Apr.07,2021

I encountered a similar warning. It is said that the so-and-so function has been deprecated. Some are negligible.


throw the error message into Google intact, and you'll find the answer you need most of the time. Remember that it is Google, not x-degree, x-degree can only find advertising.
this problem is already described in mongoose's github issue-sharp6420 . It can be ignored that the author will fix it in a later version. In a nutshell, there is no harm.

Menu