ajv-validator / ajv-validator/ajv

Extract Schema types to separate Repo

Offen
#2,129 2 Kommentare 8 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
14.8k
Forks
1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**What version of Ajv you are you using?**
AJV-8

**What problem do you want to solve?**
I am a contributor to [React JSON Schema Form](https://github.com/rjsf-team/react-jsonschema-form) and we have a situation where we are using either AJV 6 or 8 in different circumstances. We are currently using `@types/json-schema` for the JSONSchema7 definition. We are wanting to be able to use the schema types from AJV in our Repos without pulling the whole of the AJV implementation

**What do you think is the correct solution to problem?**

Extract the Typescript definitions for Schemas (for JSONSchema7, 2019, 2020) into a new repo (e.g. ajv-schema-types, ajv-json-schemas or ajv-types) so that it can be imported without the overhead of the implementations

**Will you be able to implement it?**
Possibly

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.