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

fix(layouts): error on mixed nodes #1791

Merged
merged 3 commits into from
Oct 12, 2022
Merged

fix(layouts): error on mixed nodes #1791

merged 3 commits into from
Oct 12, 2022

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Oct 12, 2022

Fixes #1779

The issue was that we weren't making sure there aren't any mixed nodes in panes and pane templates (eg. both a command and nested panes or a children block). This fixes it by adding a helpful error in this case.

@imsnif imsnif temporarily deployed to cachix October 12, 2022 08:53 Inactive
@imsnif imsnif temporarily deployed to cachix October 12, 2022 09:09 Inactive
@imsnif imsnif merged commit a13aacf into main Oct 12, 2022
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.

Panic on KDL layout file with pane template and children
1 participant