fastify-type-provider-typebox icon indicating copy to clipboard operation
fastify-type-provider-typebox copied to clipboard

Allow providing `references: Types.TSchema[]` to TypeboxCompiler

Open raduconst06 opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Allow providing an array of schema to be used as Refs with TypeboxCompiler references: Types.TSchema[]

Motivation

you should be able to specify schemas to the compiler as using fastify schema registry is not queried at compile type by TypeboxSchemaCompiler

Example

No response

raduconst06 avatar Jun 23 '23 06:06 raduconst06