-
-
Notifications
You must be signed in to change notification settings - Fork 89
feat: Introduce #[AsFixture]
attribute and foundry:load-fixture
command
#900
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
Conversation
#[AsFixture]
attribute and foundry:load-fixture
command
fb32008
to
1d0840f
Compare
1d0840f
to
7273b0b
Compare
5d28972
to
ce36ee1
Compare
ce36ee1
to
fb569fe
Compare
fb569fe
to
cf83d55
Compare
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.
This is great!
From a DX perspective, I'd really like:
- When you install foundry, the recipe creates an AppStory (like the doctrine-fixtures recipe does)
- Just run
bin/console foundry:load-stories
(no arguments)
So, what do you think about: if you pass the command no args and there's only one services tagged #[AsFixture]
, load that one?
💯 |
fixes #898