Skip to content

v0.7.4

Compare
Choose a tag to compare
@aboutlo aboutlo released this 08 Aug 22:48
· 195 commits to master since this release

Features

Added a property isFluentSchema in every FluentSchema object.

const S = require('fluent-schema')
 const schema = S.object()
  .prop('foo', S.string())
  .prop('bar', S.number())
console.log(schema.isFliuentSchema) // true

The previous method based on Symbol.for('fluent-schema-object') has been deprecated but it still available