HF RL Explorer

const Fastify = require('fastify')

const Fastify = require('fastify'): a task in LegoFlow-SWE (Harbor dataset). When using AJV with $async: true in a route schema and custom async keywords ( async: true ), Fastify does not properly catch validation failures. Instead of returning a 400 response, it logs an…

The task

When using AJV with `$async: true` in a route schema and custom async keywords (`async: true`), Fastify does not properly catch validation failures. Instead of returning a `400` response, it logs an `UnhandledPromiseRejectionWarning` and executes the handler as if validation succeeded. This contradicts the behaviour…

Part of Lego-X/LegoFlow-SWE.