Comments (1)
The hydration of the object still respects the by_value configuration. The strategy is something that is configured to extract / hydrate a property. So the strategy does not NEED to respect the hydrator. It is something stand-alone that is attached to the hydrator.
I agree that in an ideal situation you could choose between the strategy base class. However this won't be an easy fix. It is also not a good idea to create duplicate strategies just to respect the by_value configuration of the main hydrator. We will propably have to think this one through.
from zf-doctrine-hydration-module.
Related Issues (20)
- Fix unit tests; psr4 HOT 8
- New Feature: Provide for an Easy Way to Filter Fields HOT 2
- php 5.4 requirement HOT 1
- 5.3 compat HOT 2
- Multiple hydrator strategy per field HOT 11
- Allow instantiable strategies (with no deps) HOT 4
- This seems not to work with ZF 2.6 HOT 22
- Reference hydration assumes document exists HOT 2
- entity_class setting should not be required HOT 1
- Hydrator configuration requires documentation HOT 1
- Embed Field Extraction Fails When Not Set HOT 1
- Naming Strategy + Filters Not Working HOT 1
- Strategies from the service manager HOT 1
- Default hydrator strategies HOT 2
- Cannot install module by composer
- Multiple properties with same strategy have field name set to last added strategy HOT 2
- Unable to use EntityManagerInterface implementation
- Adds Laminas support HOT 5
- Embedded doc data not saved 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 zf-doctrine-hydration-module.