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

Reference fields should use cached data #588

Closed
stefanolsen opened this issue Apr 14, 2019 · 1 comment
Closed

Reference fields should use cached data #588

stefanolsen opened this issue Apr 14, 2019 · 1 comment

Comments

@stefanolsen
Copy link
Contributor

As mentioned in #582, I believe the Init methods in PageField, PostField and MediaField could use the cached and typed version of GetByIdAsync(). This way all instances of these field types would avoid a round-trip to the database when data is already in cache.
As it is a breaking change, it should probably go into version 7.0.

@tidyui
Copy link
Member

tidyui commented Aug 19, 2019

Closing this issue as reference fields uses cached Info-models in 7.0

@tidyui tidyui closed this as completed Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants