Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

override type if already exists #2

Merged
merged 1 commit into from
Sep 5, 2016

Conversation

ianldgs
Copy link
Contributor

@ianldgs ianldgs commented Aug 29, 2016

Lumen tests try to register DoctrineServiceProvider more than once and when it happens, Type throws MappingException('Type short_id already exists.') (which I believe to be the first type to be registered). This also gives the possibility to override default types.

@Jalle19
Copy link
Contributor

Jalle19 commented Aug 30, 2016

Looks good, @lindqvic?

@Jalle19
Copy link
Contributor

Jalle19 commented Aug 30, 2016

I mean @kryysler

@kryysler
Copy link
Member

kryysler commented Sep 5, 2016

Yep, looks good. Nice way to override the default types as well.

@hugovk hugovk merged commit e69c854 into digiaonline:master Sep 5, 2016
@hugovk hugovk mentioned this pull request Sep 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants