mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 05:42:32 +03:00
a30e42404b
closes https://github.com/TryGhost/Team/issues/1626 - getLazyRelation is a safer shorthand for `model.related('relationName').fetch()` - prevents doing a `fetch` operation on a relation that is already loaded, which can cause issues when `formatOnWrite` has a custom implementation - uses the already loaded relation if it exists, or loads the relation - doesn't reload if already loaded - reload is forceable using the forceRefresh option |
||
---|---|---|
.. | ||
base | ||
api-key.test.js | ||
custom-theme-setting.test.js | ||
integration.test.js | ||
invite.test.js | ||
member.test.js | ||
newsletter.test.js | ||
permission.test.js | ||
post.test.js | ||
session.test.js | ||
settings.test.js | ||
single-use-token.test.js | ||
tag.test.js | ||
user.test.js |