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

[1.x] Generate factories within domain layer. #52

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

jaspertey
Copy link
Member

Generate factories in the domain layer according to ddd.namespaces.factory, while maintaining backwards compatibility with factories previously generated under database/factories/**/*.

@jaspertey jaspertey changed the title Generate factories within domain layer. [1.x] Generate factories within domain layer. Mar 30, 2024
@jaspertey jaspertey merged commit 5221d15 into next Mar 30, 2024
23 checks passed
@jaspertey jaspertey deleted the refactor-factory-generator branch March 30, 2024 23:43
jaspertey added a commit that referenced this pull request Mar 31, 2024
* Drop Laravel 9 support

* Remove Laravel 9 related shims.

* Proxy-generators, WIP.

* make:enum only in laravel 11

* Use ddd:* command prefixes.

* Update command prefixes.

* Refactoring internals, WIP.

* Fix styling

* Almost all tests passing now.

* Formatting.

* Fix test.

* Change details.

* Include next branch.

* Switch to standard console prompt.

* Bump phpstan php-version to 8.2

* Skip enum tests for < laravel 11

* Update readme.

* Standardize generator class names following Laravel's conventions.

* Formatting.

* ddd:list

* Normalize path.

* Formatting

* Update wordings.

* Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0

Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](dependabot/fetch-metadata@v1.6.0...v2.0.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Prompts (#48)

* Use Laravel Prompts for domain input prompt.

* Add version matrix to readme.

* Bump dependencies.

* Address base-view-model generation issues.

* Command aliases.

* Feature: Domain autoloader (#49)

* Domain autoloading and discovery (providers, commands, policies, factories)

---------
Co-authored-by: Jasper Tey <[email protected]>

* Update change details.

* ddd:upgrade command to help convert outdated 0.x config files.

* Generate factories within domain layer. (#52)

* Add upgrade notes.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: JasperTey <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Elmered <[email protected]>
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