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

Typescript: Fix types of client-api & storystore #7337

Merged
merged 5 commits into from
Jul 15, 2019
Merged

Conversation

ndelangen
Copy link
Member

What I did

  • the function to merge all decorators & storyFn has been changed to no longer mutate
  • the storyFn called from within decorators must be called with a StoryContext
  • add a story for vue to test the behaviour

the function to merge all decorators & storyFn has been changed to no longer mutate
the storyFn called from within decorators must be called with a StoryContext
add a story for vue to test the behaviour
@vercel
Copy link

vercel bot commented Jul 8, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://monorepo-git-fix-decoratestory.storybook.now.sh

@ndelangen ndelangen added this to the 5.2.0 milestone Jul 8, 2019
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM let's see what @tmeasday @igor-dv @Hypnosphi say about this hopefully minor breaking change

@ndelangen
Copy link
Member Author

I'd love to merge this ASAP, so I can continue with the app/react & app/angular mergers

@ndelangen
Copy link
Member Author

ping @Hypnosphi @igor-dv we'd really like your opinion about this change.

@@ -1 +1 @@
export const version = '5.2.0-alpha.39';
Copy link
Member

Choose a reason for hiding this comment

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

@ndelangen Please don't modify this file. It only causes merge conflicts down the line.

@shilman shilman changed the title FIX types of client-api & storystore Typescript: Fix types of client-api & storystore Jul 15, 2019
@shilman shilman merged commit baf3411 into next Jul 15, 2019
@shilman shilman deleted the fix/decoratestory branch July 15, 2019 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants