Support for `extends` attribute #40

Open
slaskis opened this Issue May 10, 2012 · 0 comments

Comments

Projects
None yet
1 participant

slaskis commented May 10, 2012

Hey guys,

I was missing this little part of the spec but I was surprised to find that it wasn't harder than this to implement:

var json = require('amanda')('json');
json.addAttribute('extends', function(property, propertyValue, attributeValue, propertyAttributes, callback) {
  return this.validateSchema(propertyValue,attributeValue,'',callback)
})

Should I make this into a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment