-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SharedComponentPropertiesBindingsValuesProvider should support LazyBindings #2960
Comments
@joerghoh TL;DR: To take advantage of LazyBindings, we have to implement the
In this project, the |
…support for lazy bindings
…support for lazy bindings
…support for lazy bindings
…support for lazy bindings
…support for lazy bindings
…support for lazy bindings
…support for lazy bindings
…support for lazy bindings
…per LazyBindings types
…support for lazy bindings
…per LazyBindings types
…per LazyBindings types
…per LazyBindings types
…per LazyBindings types
…per LazyBindings types
…per LazyBindings types
Required Information
Expected Behavior
The SharedComponentPropertiesBindingsValuesProvider always resolves all values before they are added to the bindings; this happens irrespective if these values are required or not.
When using Lazybindings (https://sling.apache.org/apidocs/sling12/org/apache/sling/api/scripting/LazyBindings.html) this could be avoided, and values are only resolved when they are needed.
Actual Behavior
the values are always computed, leading into performance degradation.
The text was updated successfully, but these errors were encountered: