packages/core/src/Resource/Decorator/Resource/lazyLoadingDecorator.js
Function lazyLoadingDecorator
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
export default function lazyLoadingDecorator(resource) {
const dataProperty = Object.getOwnPropertyDescriptor(resource, 'data');
Object.defineProperties(resource, {
load: {