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(runtime): check head+content component before throwing an error #11141

Merged
merged 2 commits into from
May 29, 2024

Conversation

ematipico
Copy link
Member

Changes

This PR fixes an issue in our runtime engine. This fix allows the AstroContainer to render the Container component.

Testing

I tested it manually against the source code that Chris created yesterday.

Docs

/cc @withastro/maintainers-docs for feedback!

We could potentially create a PR to update the RSS page and use the container to render the content collection.

Copy link

changeset-bot bot commented May 24, 2024

🦋 Changeset detected

Latest commit: 3caee8a

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

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label May 24, 2024
@Princesseuh
Copy link
Member

Princesseuh commented May 24, 2024

A test would be nice imo. With people using this a bunch for RSS, it's important that it works and stay working.

@ematipico
Copy link
Member Author

A test would be nice imo. With people using this a bunch for RSS, it's important that it works and stay working.

Ok, let me see if I can pull it off

@sarah11918
Copy link
Member

I'm going to cc @delucis in here re: the docs question. It might not be worth changing the RSS docs just yet, unless this prevents the current method from working.

Copy link
Member

@Princesseuh Princesseuh left a comment

Choose a reason for hiding this comment

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

Awesome, thank you for adding a test!

@ematipico ematipico merged commit 19df89f into main May 29, 2024
13 checks passed
@ematipico ematipico deleted the fix/runtime-check branch May 29, 2024 11:29
@astrobot-houston astrobot-houston mentioned this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants