Laravel-Backpack / CRUD

Build custom admin panels. Fast!
https://backpackforlaravel.com
MIT License
3.04k stars 885 forks source link

Deprecate `setFromDb()` method #5419

Open promatik opened 7 months ago

promatik commented 7 months ago

Related with https://github.com/Laravel-Backpack/docs/pull/506.

pxpm commented 7 months ago

I agree we do this, but at the same time we remove setFromDB from our stubs too.

Otherwise I don't think it makes sense to deprecate a function that we still use.

The stubs are now publishable too, so if you want to add something back that we removed you can just publish the stubs and do your changes accordingly.

Cheers