Andreas Braun

Results 56 issues of Andreas Braun

As was done in doctrine/collections, we should add support for generics using the `@psalm-template` annotations for generic classes like Repositories and Registries. We should also ensure that generics in PHPStan...

Enhancement
Help Wanted

This came to me while reading through https://github.com/symfony/symfony-docs/issues/9878. In a few of those cases, people have the same entity managed by multiple entity managers. While I'm not sure whether that...

The current `AbstractManagerRegistry` implementation provides abstract `getService` and `resetService` methods to allow subclasses to implement their own logic how to retrieve connection and manager services. However, with PSR-11 defining a...

Enhancement

PHPLIB-912 This is one possible way to fix the issue of certain tests sporadically failing on sharded clusters. My initial attempt to only pass a `startAtOperationTime` still caused failures, as...

PHPC-2124 While reviewing code for the docs, I realised that these stubs don't correspond to the actual ZPP info, which takes precedence as it enforces parsing rules.

This PR deprecates the `metadata_cache_driver` config key in favour of automatic configuration. In debug mode, it creates an ArrayAdapter, meaning that the cache is only valid per request. This is...

Feature

Fixtures currently aren't documented at all. This can be difficult, especially since fixture services are relying on being tagged (which is done using the `ODMFixtureInterface` interface, but users need to...

Documentation
DX

The documentation at https://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html doesn't contain a section on service repositories, which should definitely be added.

Documentation
Hacktoberfest

To better separate concerns and keep track of dependencies, we should extract the `LoadDataFixturesDoctrineODMCommand` to a separate bundle and release it as a separate package (comparable to DoctrineBundle and DoctrineFixturesBundle).

PHPC-2146 Best reviewed commit by commit. This PR introduces some refactorings that I made while prototyping raw BSON support. No functional changes are introduced as part of this PR. This...