fastify / fastify/fastify-type-provider-typebox

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

Open
#86 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
205
Forks
29
Avg merge
2m
Merged PRs (30d)
1

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.