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

Add attribute notation to SearchableTrait #198

Closed
jurv opened this issue Nov 8, 2023 · 0 comments · Fixed by #199
Closed

Add attribute notation to SearchableTrait #198

jurv opened this issue Nov 8, 2023 · 0 comments · Fixed by #199

Comments

@jurv
Copy link
Contributor

jurv commented Nov 8, 2023

The SearchableTrait only has annotations for Doctrine, which is an issue for projects where Doctrine is configured to use PHP attributes:

doctrine:
    orm:
        entity_managers:
            default:
                mappings:
                    App:
                        type: attribute
                        [...]

When following the installation instructions with this configuration, the console doctrine:migrations:diff step doesn't generate any migration, as no changes are detected.

The configuration provided in the annotations should also be provided as PHP attributes.

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 a pull request may close this issue.

1 participant