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

Support multiple levels of extends. #56

Merged
merged 4 commits into from
Jun 28, 2024
Merged

Support multiple levels of extends. #56

merged 4 commits into from
Jun 28, 2024

Conversation

clokep
Copy link
Owner

@clokep clokep commented Jun 28, 2024

Support inheriting over multiple levels of extends, e.g. template C extends template B extends template A and rendering a block from template A.

This heavily simplifies the code to avoid iterating the node list many times, although I'm not 100% confident I haven't broken any edge cases.

Fixes #12
Fixes #16
Fixes #45
Fixes #53

@clokep clokep merged commit f10ef7b into main Jun 28, 2024
6 checks passed
@clokep clokep deleted the multiple-extends branch June 28, 2024 18:40
@yaakovLowenstein
Copy link
Contributor

@clokep Thanks for merging this in! When do you expect to release the new version?

@clokep
Copy link
Owner Author

clokep commented Jul 2, 2024

@yaakovLowenstein I've released 0.10b1 with the changes. If I don't hear about any issues I'll release a proper version soon.

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.

Inheritance more than one level seems to not work Template inheritance issue
2 participants