Michael Welch
Michael Welch
Ok, by stepping thru the code what appears to be meant is that you need to give a full path, and for local files this includes a `./` prefix. In...
Looks like what needs to be done is just use the `addKeyword` method. Here's my simple example that adds one keyword: ```js function customKeywords(ajv, keyword) { ajv.addKeyword("mykeyword"); } module.exports =...
Here's a short little module that can be reused to read keywords from a file. I plan to write a similar module for formats. ```js const fs = require("fs") function...
I created a new npm module as a hack. https://www.npmjs.com/package/ajv-cli-custom It's not great because it doesn't allow you to specify the name of the file. For now it's hard coded...
@MartinDevi Sure I discovered that and wrote a little npm package to do this for others (as noted [above](https://github.com/ajv-validator/ajv-cli/issues/128#issuecomment-820381362). (It doesn't do any validation, just supports the use of user...
@wagoid thanks for your response. I'll see what I can do.
@wagoid It does indeed bring in "old commits" and now that I've used `git log` to see it maybe I can explain (and then create a new repo with the...
I can take a look
FYI, we use version `0.14.0` which has been working for us and which I believe was the first released version to include my changes.
Is this a minimum version of `node` issue? Perhaps I (and @ErikWittern ) used a newer version of node. Is the `??` operator not supported in your version of node?...