Comments (5)
It would be cool if this implementation could work with fetch="EXTRA_LAZY", on the relation, which by the looks of it, doesn't work with Gedmo's SoftDeleteable.
from orm.
Not sure if we have that in our hands or that's an issue in Doctrine's filter system.
from orm.
It looks like it's a limitation (or a feature) in PersistentCollection::removeElement(). So it might be a bit hard. Forcing the collection to be fetched before removing an element solves this case, but does not feel like a good solution.
from orm.
I know this issue is a little old, but if it helps at all I implemented a few of these behaviours: https://github.com/dave-redfern/laravel-doctrine-behaviours It's done via interfaces and listeners, so the only thing needed in mappings are the fields. If there is anything useful, feel free to help yourselves.
from orm.
@dave-redfern we are considering adding "community packages" to the website. Will add your link :)
from orm.
Related Issues (20)
- When you are releasing laravel-doctrine/orm:2.9 ? HOT 4
- is doctrine/orm supports php 8.1? HOT 4
- [PROPOSAL] Maintenance of this package and the community around it HOT 3
- Conflict with symfony/validator,Semantical Error HOT 3
- [PROPOSAL] PHP 8.1 Support
- No longer recognizes custom functions after update HOT 2
- When raising exception , I get message of "...Operation not permitted The exception occurred while attempting to log: Allowed memory size of .221225472 bytes exhausted (tried to allocate 379588608 bytes) Context: {"exception":{}" HOT 1
- [BUG] Target [Doctrine\Persistence\ManagerRegistry] is not instantiable while building [LaravelDoctrine\ORM\Testing\Factory]. HOT 1
- [QUESTION] SQL Server - Could Not Find Driver HOT 1
- [BUG]Config publish error HOT 1
- [QUESTION] php artisan doctrine:generate:entities has error
- [BUG] Semantic Error on annotations after upgrading to Laravel 9 HOT 24
- [BUG] Unresolvable dependency resolving [Parameter #0 [ <required> $entityName ]] in class Doctrine\ORM\Mapping\ClassMetadata HOT 3
- 2.0 HOT 14
- [QUESTION] Cannot Use ManagerRegistry HOT 7
- [QUESTION] Installation of 1.8 to Laravel 9.5.2 failed HOT 4
- [BUG] Using SubstituteBindings in Lumen app shows "Target [Illuminate\Contracts\Routing\Registrar] is not instantiable while building [LaravelDoctrine\ORM\Middleware\SubstituteBindings]"
- [QUESTION] - Laravel Doctrine notifications vs Laravel Notifications
- [BUG] PrimaryReadReplica doesn't work
- Issues with running PHPUnit coverage with Xdebug when middleware runs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orm.