ajv-validator / ajv-validator/ajv-cli

reference resolution failing if the referenced file is alphabetically coming after the base file

Aperta
#221 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
316
Fork
77
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://github.com/ajv-validator/ajv-cli/blob/58d6f074720d5dc0773c3786320b7d35718060cd/src/commands/compile.ts#L54

as we can see in the above code, adding schema and compiling it is done together

if schema/A file has schema/B as a reference and we pass
/schema/* as the glob value to ajv cli compile command,
it will throw invalid schema error

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.