Comments (7)
It's a known bug since the last version of the model manager. We're working on a fix. /ping @sanpii @chanmix51
from pomm-bundle.
Is there something to configure for the class:session_builder ?
Yes, as you can see in the README:
redshift:
dsn: 'pgsql://%redshift.username%:%redshift.password%@%redshift.host%:5439/%redshift.database%'
class:session_builder: '\PommProject\ModelManager\SessionBuilder'
from pomm-bundle.
Thanks. I had copied the 1st configured line of the README.
from pomm-bundle.
So, the problem comes from the configuration. You need the session_builder parameter to use the generators. If custom session_builder is not defined, the default one is a foundation/sessionBuilder, and generators need modelManager/sessionBuilder
from pomm-bundle.
I've submitted a patch to set the default config: https://github.com/pomm-project/pomm-bundle/pull/39/files
from pomm-bundle.
There's already a default value in PommProject\Foundation\Pomm, but this way looks fine to override it cleanly.
from pomm-bundle.
I've done it the same way on ZF2 Pomm Module
from pomm-bundle.
Related Issues (20)
- Question about Injection via symfony instead of Pooler HOT 6
- [Profiler] Add the "See runnable query"
- [ProfilerExtension] Twig Extensions is abandonned
- The PommProject\SymfonyBridge\PropertyInfo\Extractor\PommExtractor class is deprecated HOT 6
- Pomm Bundle not compatible with PHP >= 8.x
- Unique "Object" Validator in Pomm HOT 1
- Still not stable? HOT 10
- Twig and relation HOT 2
- Unable to load @ParamConverter annotation HOT 1
- impossible to use a session builder as a service HOT 8
- impossible to initialize a modelLayer
- deprecated configuration key throws an exception with Sf 3.3 HOT 1
- Warning raised with SF 3.3 in ContainerModelLayerPooler HOT 2
- BC break: default session builder should be the model manager HOT 1
- Support symfony4 HOT 2
- Rewrite test for sf4 HOT 1
- Update README with flex installation instruction HOT 1
- An alias can not reference itself, got a circular reference on ProductModel HOT 3
- Error 500 on query explain HOT 1
- Custom converter HOT 1
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 pomm-bundle.