Skip to content

Generate template in depth-first order and fix recursive dataclasses#28

Merged
mthuurne merged 3 commits into
mainfrom
formatting-recursion
Jul 17, 2023
Merged

Generate template in depth-first order and fix recursive dataclasses#28
mthuurne merged 3 commits into
mainfrom
formatting-recursion

Conversation

@mthuurne

Copy link
Copy Markdown
Member

A depth-first template is more usable, as it keeps related items together.

While writing a unit test to check the template order, I found out that recursive dataclasses would lead to infinite recursion in both the binder creation and template formatting. Both have been fixed now.

@mthuurne
mthuurne merged commit 891b117 into main Jul 17, 2023
@mthuurne
mthuurne deleted the formatting-recursion branch July 17, 2023 13:44
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.

1 participant