Skip to content

Strict slots #1574

Nov 9, 2022 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @cpjmcquillan! Thanks for raising this question. I agree with @boardfish.

The issue with errors like this in our experience at GitHub is that we haven't wanted them to raise in production. That's why we use the fetch-or-fallback pattern, where we have a safe default to use in production but raise an error in dev/test.

I think 500'ing in production for a misuse of a ViewComponent is something to be avoided at all costs.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@boardfish
Comment options

Comment options

You must be logged in to vote
1 reply
@cpjmcquillan
Comment options

Answer selected by cpjmcquillan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants