Skip to content

A mixin to automatically generate createdBy and updatedBy attributes for loopback Models

License

Notifications You must be signed in to change notification settings

mbenedettini/loopback-ds-user-mixin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USER MIXIN

This module is designed for the Strongloop Loopback framework. It automatically adds createdBy and updatedBy attributes to any Model.

createdBy will be set to the id of the user which created the instance

updatedBy will be set to the id of the user which last updated the instance

This module is implemented with the before save Operation Hook which requires the loopback-datasource-juggler module greater than v2.23.0.

LICENSE

ISC

About

A mixin to automatically generate createdBy and updatedBy attributes for loopback Models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published