app-config icon indicating copy to clipboard operation
app-config copied to clipboard

support `unevaluatedProperties`

Open DetachHead opened this issue 1 year ago • 0 comments

https://json-schema.org/understanding-json-schema/reference/object.html#id7

> npx @app-config/cli generate
app-config generate

Run code generation as specified by meta file

General:
  -C, --cwd      Run app-config in the context of this directory                                                                                                        [string]     
  -h, --help     Show help message with examples and options                                                                                                           [boolean]     
  -v, --version  Show version number                                                                                                                                   [boolean]     

Logging:
      --verbose  Outputs verbose messages with internal details                                                                                                        [boolean]     
      --quiet    Only outputs errors that user should be aware of                                                                                                      [boolean]     
      --silent   Do not print anything non-functional                                                                                                                  [boolean]     

Error: strict mode: unknown keyword: "unevaluatedProperties"
    at Object.checkStrictMode (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\validate\index.js:183:15)
    at Object.checkUnknownRules (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\util.js:32:24)
    at checkKeywords (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\validate\index.js:118:12)
    at Object.subschemaCode (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\validate\index.js:85:9)
    at Object.applySubschema (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\subschema.js:17:16)
    at KeywordCxt.subschema (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\context.js:145:28)
    at inlineRefSchema (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\vocabularies\core\ref.js:39:32)
    at Object.code (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\vocabularies\core\ref.js:25:16)
    at Object.keywordCode (C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\validate\keyword.js:12:13)
    at C:\Users\user\project\node_modules\@app-config\schema\node_modules\ajv\dist\compile\validate\iterate.js:16:35

DetachHead avatar Jun 15 '23 09:06 DetachHead