Skip to content

v0.1.1

Latest
Compare
Choose a tag to compare
@thyb thyb released this 25 Jul 06:44
· 870 commits to master since this release

Pagination

You can now paginate all your findAll queries and endpoints: materiahq/materia-designer-public#14

Query configuration interface changed a bit :

page is now supported
page, limit and offset support parameters format with = sign.

e.g.

{
    "id": "getDoneTodos",
    "type": "findAll",
    "params": [
        {
            "name": "page",
            "type": "number",
            "required": false
        }
    ],
    "opts": {
        "conditions": [
            {
                "name": "done",
                "operator": "=",
                "value": "true"
            }
        ],
        "limit": "10",
        "page": "=page"
    }
}

Bug fixes

  • Fix findAll / findOne queries with no createdAt or updatedAt
  • Fix updateField with required / no default value, and rows with null values
  • Check naming collision when adding a relation