-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Composition: Verify refs in node #12085
Conversation
…f it's reachable from node
… client-side && show error if no stories & server-check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is done, but some comments
Ready for review @rannyeli @TechieQian @basher @tmeasday |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, some tweaks
Co-authored-by: Tom Coleman <[email protected]>
…bookjs/storybook into tech/refs-verify-existence-in-node # Conflicts: # lib/api/src/modules/refs.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clever!
Issue: #11892
What I did
iframe.html
iframe.html
inlib/api/modules/refs
lib/api/modules/refs
to use the set type of a ref as a replacement for runtime checkingiframe.html
lib/api/modules/refs
to not requeststories.json
with credentials when the server-side fetch succeeded, because that means it's public.