Navigation Menu

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(storybook): component props should only consider inputs #9417 #9780

Merged
merged 1 commit into from Apr 11, 2022

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Apr 11, 2022

Current Behavior

Previously, all decorators were being taken into consideration. However, props to an Angular component would be its Inputs.

Expected Behavior

We should only consider Inputs.

Related Issue(s)

Fixes #9417

Previously, all decorators were being taken into consideration. However, props to an Angular component would be its Inputs.
We should only consider those.

Fixes nrwl#9417
@Coly010 Coly010 requested a review from mandarini April 11, 2022 09:48
@Coly010 Coly010 self-assigned this Apr 11, 2022
@nx-cloud
Copy link

nx-cloud bot commented Apr 11, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 68c458c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 11 targets

Sent with 💌 from NxCloud.

@vercel
Copy link

vercel bot commented Apr 11, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/Cd1ffxYqaq1JmqgjQ5bsMKJYJPqh
✅ Preview: Ignored

Copy link
Member

@mandarini mandarini left a comment

Choose a reason for hiding this comment

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

Nice :)

@Coly010 Coly010 enabled auto-merge (squash) April 11, 2022 09:57
@Coly010 Coly010 merged commit 33ec4ac into nrwl:master Apr 11, 2022
@Coly010 Coly010 deleted the storybook/fix-incorrect-story-args branch April 11, 2022 10:17
FrozenPandaz pushed a commit that referenced this pull request Apr 13, 2022
)

Previously, all decorators were being taken into consideration. However, props to an Angular component would be its Inputs.
We should only consider those.

Fixes #9417
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

storybook lib schematic generates bad story code on @HostBinding(attr.id)
2 participants