DASPRiD / container-interop-doctrine

Doctrine factories for container-interop
107 stars 25 forks source link

Question: how to handle custom doctrine types? #20

Closed lowtower closed 7 years ago

lowtower commented 7 years ago

Hello,

how would one add custom doctrine types, such as Ramsey's UUid https://github.com/ramsey/uuid-doctrine I found 'doctrine_mapping_types' => [], in the full config, but this seems to only alter existing type mappings but not add new types.

Cheers, LowTower.

DASPRiD commented 7 years ago

Nope, that section is specifically for adding custom types.

DASPRiD commented 7 years ago

Actually, nevermind. Scroll down to the end of the full config example, there's a types array.

lowtower commented 7 years ago

Got it, thanks a lot! Cheers, LT.