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

Change state factory to not require an array to be passed in #57

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

joshhanley
Copy link
Collaborator

This allows you to write MyState::factory()->create() without needing to pass an array into create ->create([]), which is a familiar pattern in Laravel (although strictly not necessary with Verbs to create a state).

@joshhanley joshhanley merged commit 6f11301 into hirethunk:main Feb 1, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant