-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix error on static factory with associative array #714
Fix error on static factory with associative array #714
Conversation
Makes sense, I simply overlooked it when I did #698. Do you mind adding some tests in |
ce9b06f
to
16505e2
Compare
I tried adding one, but it fails with a I don't really get what's happening here, also considering the fix is working properly on my own project and beta5. 😕 |
I managed in ba986d0 to fix the tests by injecting & using the arguments denormalizer in BTW, ideally, shouldn't |
Hm no that doesn't seem right: alice is broken down in 2 steps: creating the fixture objects and generating the actual objects. The first part is supposed to be idempotent and immutable. They shouldn't be mixed. More details there. I cannot really debug it this we, but I would rather say |
a8278b4
to
ba986d0
Compare
Are you sure those changes aren't right? It only updates the first part about generating the fixture objects and to me does not violates the idempotent and immutable rules. To me the
Maybe I'm missing something 😕 |
Ah, I actually completely misread your change 😅 |
Thanks @ogizanagi :) |
I don't know if this is something you want to officially support, but at least it used to work in previous versions ^^
but since beta4, it'll produce the following error: