Skip to content
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

[optimization with breaking changes] Maybe require to tell if default to load a data/search attribute #215

Open
longquanzheng opened this issue Jan 5, 2024 · 0 comments

Comments

@longquanzheng
Copy link
Contributor

Today all the data/search attributes are loading by default.

This is wasteful if the state/RPC don't need to read some/any data/search attributes.

A better approach is to let user to define the data attributes with whether or not the attribute should be loaded by default. If not loading by default, then state/RPC will have to specifically select the attribute key to load

@longquanzheng longquanzheng changed the title Require to tell if default to load a data/search attribute [optimization with breaking changes]Require to tell if default to load a data/search attribute Jul 1, 2024
@longquanzheng longquanzheng changed the title [optimization with breaking changes]Require to tell if default to load a data/search attribute [optimization with breaking changes] Maybe require to tell if default to load a data/search attribute Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant