Skip to content

Type in model #2

Description

@LancelotP

Maybe a type in our model in order to have some validation without writing any logic ?

var fooModel = {
  attributes: {
    foo: {
      type: 'array'
      default: 'bar',
    }
  }
};

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions