doctrine/DoctrineMongoDBBundle — Issue #75: Custom Types
Author: henrikbjorn
Created: 2012-02-04 20:14:05+00:00
State: open

I had an idea to create a better flow for handing uploaded files in Symfony2 through a custom type that would mape the file from File to a string and then back again. Unfortunately there is no place to add a custom type like in DoctrineBundle.

Theese are some of the things i have tried.

1. In a bundles build method. This is unfortunately only ran when the Container is build.
2. in a bundles boot method but that is too late because of Doctrine Bundle being enabled before my custom one.

Any further ideas without implementing this directly would be good ;)