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
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
@mcollina I couldn't reproduce it with a minimal example. I just found that it happens when I use Fastify on the nx mono repo. I'll try to share a reproducible repo.
@mcollina I found the problem to be with the ajv version. For some reason, Eslint is using ajv 6, which conflicts with Fastify ajv 8. I don't know how dependencies are resolved. Due to this typescript is having a tough time picking the correct type.
💬 Question here
Following docs, I'm trying to setValidatorCompiler like
But I'm getting the below typescript error
How do I setup different compilers for schema validation?
PS: I don't want to coerce the body json, which is why I'm trying to setup different compilers.
Your Environment
The text was updated successfully, but these errors were encountered: