We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My JSON has the following values:
The result is false. When I set ignore: ['channels'] - result is true.
I'm a little bit confused because for the same case is a different result via RunKit - the result is true: https://npm.runkit.com/json-schema-compare
`var compare = require('json-schema-compare')
var isEqual = compare({ title: 'title 1', type: ['object'], dependencies: { name: ['age', 'lastName'] } }, { title: 'title 2', type: 'object', dependencies: { name: ['lastName', 'age'] } }, { ignore: ['title'] })`
The text was updated successfully, but these errors were encountered:
I don't understand, channels is not a valid schema keyword. Are you using it to compare json values? It is meant to compare JSON schemas.
Or is it used as dependencies as in my example? More data is required, can you give me a full example of what you are trying to do?
Sorry, something went wrong.
No branches or pull requests
My JSON has the following values:
The result is false. When I set ignore: ['channels'] - result is true.
I'm a little bit confused because for the same case is a different result via RunKit - the result is true:
https://npm.runkit.com/json-schema-compare
`var compare = require('json-schema-compare')
var isEqual = compare({
title: 'title 1',
type: ['object'],
dependencies: {
name: ['age', 'lastName']
}
}, {
title: 'title 2',
type: 'object',
dependencies: {
name: ['lastName', 'age']
}
}, {
ignore: ['title']
})`
The text was updated successfully, but these errors were encountered: