Arachne / Security

Authentication and authorization for Nette framework. Deals with cases that are difficult to implement with nette/security.
MIT License
2 stars 7 forks source link

Incompatibility with Nette\Presenter store/restore request #6

Closed josefsabl closed 6 years ago

josefsabl commented 6 years ago

Is it possible that the entity loader is not compatible with the Nette Presenter's store/restore request? Looks like request now contains whole documents (that can have closures in them) and I get Serialization of 'Closure' is not allowed error. Any idea what to do with this. I guess that: Do not use storeRequest will fix that :-)

enumag commented 6 years ago

See the EntityLoaderPresenterTrait. If you have any problem with it, create an issue in the Arachne/EntityLoader repository, not here.