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 slot attribute inside expressions #447

Merged
merged 4 commits into from
Jul 6, 2022
Merged

Conversation

natemoo-re
Copy link
Member

@natemoo-re natemoo-re commented Jul 6, 2022

Changes

Testing

Tests added

Docs

Bug fix only

@changeset-bot
Copy link

changeset-bot bot commented Jul 6, 2022

🦋 Changeset detected

Latest commit: d2f4e38

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/compiler Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@natemoo-re natemoo-re changed the title support conditional slots Support slot attribute inside expressions Jul 6, 2022
Copy link

@tony-sull tony-sull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find! I would have thought that would be a much larger fix to handle this properly 🚀

@Jutanium
Copy link

Jutanium commented Jul 6, 2022

Happy Dan ❤️

@natemoo-re natemoo-re merged commit 4b02776 into main Jul 6, 2022
@natemoo-re natemoo-re deleted the fix/conditional-slots branch July 6, 2022 22:22
natemoo-re added a commit that referenced this pull request Jul 20, 2022
* fix: support conditional slots inside expressions

* feat: allow dynamic slots inside an expression

* chore: add changeset

* Update hungry-spoons-crash.md

Co-authored-by: Nate Moore <nate@astro.build>
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.

🐛 BUG: Conditional named slots break the compiler
3 participants