ml-archive / magic-box

A magical implementation of Laravel's Eloquent models as injectable, masked resource repositories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needs to be compatible with models that don't have auto-incrementing IDs.

maidoesthings opened this issue · comments

Currently the way magic-box works, it does not allow for model creation with a unique ID. We need to check to make sure that when a model is being created with a unique ID, to allow the ID to be passed through. When the model is being updated, we need to remove the ID field so that it does not get overwritten.

Was fixed in 1.2