Skip to content

Instantly share code, notes, and snippets.

@roikiermedia
Created January 5, 2019 18:48
Show Gist options
  • Save roikiermedia/aa1a4846e0752d522f94ab38d53ff776 to your computer and use it in GitHub Desktop.
Save roikiermedia/aa1a4846e0752d522f94ab38d53ff776 to your computer and use it in GitHub Desktop.
module.exports = function () {
return async context => {
context.result.datamodel = context.service.options.Model.schema;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment