ajv-validator / ajv-validator/ajv-cli

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

オープン
#221 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
316
フォーク
77
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。