doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.46k stars 203 forks source link

Allow to load fixtures that have no group #291

Open magnetik opened 5 years ago

magnetik commented 5 years ago

Hi,

When starting to use the groups, I needed to load all fixtures BUT not the one I've put in a group (that are specific fixtures that are used for some tests).

For instance when using the serialization groups in JMS Serializer, all objects that have no groups are put in a group Default. See : https://jmsyst.com/libs/serializer/master/cookbook/exclusion_strategies#overriding-groups-of-deeper-branches-of-the-graph

It would work like this:

WDYT ?