Rebolon / php-sf-flex-webpack-encore-vuejs

A simple app skeleton to try to make every components work together : symfony 5.* (latest stable at the date, but work with sf 4 and 3.3+ if you pull the right tag), symfony/flex, webpack-encore, vuejs 2.5.x, boostrap 4 sass
https://www.richard.icu/
MIT License
114 stars 31 forks source link

ApiPlatform: change design to expose API through standalone class and use DataProvider and DataPersister #117

Open Rebolon opened 5 years ago

Rebolon commented 5 years ago

Here is the documentation about this:

The problem with current implementation is that ApiPlatform and Doctrine share everything, which could be a problem if we don't want to expose some properties to Api. In complexe legacy app it cuols be hard to use ApiPlatform with the current implementation. So the separation of concern is, once again, a good thing !

Now the problem is how to implement this ???

Rebolon commented 5 years ago

Should not be closed because !118 is only a POC for DataProvider usage

Rebolon commented 5 years ago

It must also show how to use: