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
draft impl:
function match$(sub_ent, super_ent, why) { var why = { match: false } if( (null != super_ent.id || null != super_ent.id$) && null == sub_ent.id ) { why.no_id = true return why } if( (null == super_ent.id && null == super_ent.id$) && null != sub_ent.id ) { why.has_id = true return why } if( !sub_ent.is$(super_ent.canon$()) ) { why.canon = true return why } // FIX: this will need to be deepEqual why.match = true Object.keys(sub_ent.data$()).forEach(function(sub_field) { if( 'id' != sub_field && sub_ent[sub_field] !== super_ent[sub_field] ) { why.match = false why.field = sub_field why.values = [sub_ent[sub_field], super_ent[sub_field]] } }) return why }
The text was updated successfully, but these errors were encountered:
rjrodger
No branches or pull requests
draft impl:
The text was updated successfully, but these errors were encountered: