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

Remove bundle examples #835

Closed
wants to merge 1 commit into from
Closed

Conversation

franmomu
Copy link
Contributor

@franmomu franmomu commented Jan 5, 2024

Fixes #536

@@ -18,7 +18,7 @@ Sample Configuration
document_managers:
default:
mappings:
AcmeDemoBundle: ~
App: ~
Copy link
Member

Choose a reason for hiding this comment

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

It would be better to show the standard configuration that is setup by flex: https://github.com/symfony/recipes/blob/main/doctrine/doctrine-bundle/2.9/config/packages/doctrine.yaml

In AbstractDoctrineExtension.php line 219:
Mapping definitions for Doctrine manager "default" require at least the "type", "dir" and "prefix" options.

Suggested change
App: ~
App:
is_bundle: false
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App

@GromNaN
Copy link
Member

GromNaN commented Jan 8, 2024

I applied your commit to #834

@franmomu
Copy link
Contributor Author

closing in favor of #834

@franmomu franmomu closed this Jan 10, 2024
@franmomu franmomu deleted the remove_bundle_refs branch January 10, 2024 08:12
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.

Remove usage of bundles from documentation
2 participants