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

add partial callback #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linux-fan-dave
Copy link

With this change the user can decide to provide a callback for partials.
This callback will be queried when a partial is needed. Partials can thererfore be provided lazy.

@linux-fan-dave
Copy link
Author

The ci seems to be broken. It fails to install the base system rather than a real compiler error

@ksdhans
Copy link

ksdhans commented May 20, 2020

I was thinking of implementing exactly this. Glad to see it's already been done, albeit not merged yet.

My one suggestion would be to cache partials obtained via the callback. That way they don't need to be refetched every time (e.g., if used in a list).

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

Successfully merging this pull request may close these issues.

2 participants