dadi/web

Generic static datasources

abovedave opened this issue · 0 comments

Current way of defining a static DS requires the Web datasource node:

{
  "datasource": {
    "key": "countries",
    "source": {
      "type": "static",
      "data": [
        ...
      ]
    }
}

It would be nice just to put any JSON file into the datasources folder which is loaded wholesale into the page data with the key being the filename.