alice-fixtures

Alice fixtures - Persist and reference a first set of entities/objects

空扰寡人 提交于 2019-12-11 06:02:59
问题 Alice has given away the persistence layer in 3.x. In the attempt of migrating from 2.2 to 3.0.x, … I need to load and persist some fixtures first (so their id get populated) and then reference those entities ids from another bunch of fixture files. How can this be achieved ? I guess I may have to loop and load multiple fixture files sets separately but I have no idea how objects references will subsist in such scenario. My setup currently doesn't work but causes the following error to prompt