Next.js Cannot overwrite model once compiled (discriminator)

后端 未结 0 547
夕颜
夕颜 2021-02-08 10:25

I am trying to register a discriminator for my Orders model. The app is able to handle the main module export following this pattern: mongoose.models.Order || mongoose.mod

相关标签:
回答
  • 消灭零回复
提交回复
热议问题