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

Enable virtual on preperties to support lazy loading proxies #40

Closed
statler opened this issue Jun 5, 2018 · 4 comments
Closed

Enable virtual on preperties to support lazy loading proxies #40

statler opened this issue Jun 5, 2018 · 4 comments

Comments

@statler
Copy link

statler commented Jun 5, 2018

EF Core 2.1 introduces lazy loading. To use in its easiest configuration requires the collections / properties to be virtual. Am i right in saying this is not currently configurable, or is it something that needs to be done in Handlebars? If it is through handlebars, is it better treated as an option in the main program - this will be a pretty common use case.

https://docs.microsoft.com/en-au/ef/core/querying/related-data#lazy-loading

@ErikEJ
Copy link
Owner

ErikEJ commented Jun 5, 2018

How about just documenting how to do that with Handlebars?

@statler
Copy link
Author

statler commented Jun 5, 2018

That would probably do the trick :)

@ErikEJ
Copy link
Owner

ErikEJ commented Jun 15, 2018

This will be fixed in EF Core 2.2

@ErikEJ
Copy link
Owner

ErikEJ commented Jun 17, 2018

@ErikEJ ErikEJ closed this as completed Jun 17, 2018
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

2 participants