fermin-silva / mockserver

The hassle-free way of mocking a backend server API
http://ferminsilva.com/mockserver/
0 stars 0 forks source link

ADD data catalog files #9

Open fermin-silva opened 5 years ago

fermin-silva commented 5 years ago

Instead of baking in everything in the conf.toml, support a data directory of several toml files useful for custom data catalog (users, countries, products, etc). This is particularly useful for testing with real data, for example if needed to render a believable html template.

Also add the corresponding helper functions for the pongo2 context

WARNING: load once from disk or scan continuously?