Skip to main content
3 of 5
minor spell mikstake
Keyur Shah
  • 18.1k
  • 6
  • 67
  • 80

deprecated save and load methods

I see that in the develop branch of the magento 2 repo the methods load and save from Magento\Framework\Model\AbstractModel class are deprecated.
But there are a gazillion classes in the core that extend this class and use save and load.
When creating my own module for the CRUD part of my entities I follow the same guidelines as a core module does.
But since these methods are deprecated I would rather be prepared for the future.
What should I use instead of them? Or I should extend something else?

Marius
  • 198.5k
  • 55
  • 424
  • 833