loopback-datasource-juggler/test/helpers
Dimitris Xalatsis 095ddd654e
Add __parent reference to embedded models
Add a new hidden property `__parent` that's automatically set on all
instances of embedded models.

For backwards compatibility, this feature is not enabled by default.
You can turn it on by adding the following line to `server/server.js`
file:

    app.registry.modelBuilder.settings.parentRef = true;
2020-04-17 13:35:42 +02:00
..
bdd-if.js Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
context-test-helpers.js Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
hook-monitor.js Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00
setup-parent-ref.js Add __parent reference to embedded models 2020-04-17 13:35:42 +02:00
uid-generator.js Update copyright year and CODEOWNERS (#1818) 2020-01-21 13:12:14 -05:00