Skip to content

v0.7.3

Compare
Choose a tag to compare
@aboutlo aboutlo released this 22 Jun 08:47
· 197 commits to master since this release

Features

Added symbol to identify fluent schema objects

const S = require('fluent-schema')

const schema = S.object()
  .prop('foo', S.string())
  .prop('bar', S.number())

console.log(schema[Symbol.for('fluent-schema-object')]) // true