-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CrudView should be supported #18
Comments
You should open an issue (or PR) in it's own repo. |
Yea, I'm just trying to summarize what needs to happen. That's more than than that needs to happen. |
👍 I would love this and could help on it as well. Let me know what you need @Marlinc |
That's great @jadb! In general I'm trying to sum up all the things that are needed for this. In general it would help individual people could work on the separate things that need to change. |
This is such a good idea! 👍 |
@Marlinc refer to the classes by FQDN so it's clear to the rest of us which |
@jadb there you go ;) |
I actually put a lot of work into this. I have a working setup with associations and CrudView working quite good. I'll try to get this work into the plugin in a month or so when I have time. |
It should be possible to use CrudView with the Webservice plugin. For this quite a few things have to happen.
Some of the things that need to change:
\Cake\Datasource\RepositoryInterface
Make search manager use RepositoryInterface instance instead of Table. FriendsOfCake/search#79\Search\Model\Behavior\SearchBehavior
needs to be somehow compatible with\Muffin\Webservice\Model\Endpoint
classes. Possibly by using traits. Interesting PR: Could we implement addBehavior()? cakephp/elastic-search#83.\Search\Model\Filter\Value
). Currently the only way to use Search is to use the\Search\Model\Filter\Callback
filter.\Cake\Datasource\EntityInterface
(for example in theCrudViewHelper
)\Muffin\Webservice\Query
needs to have thecontain
method\Muffin\Webservice\Endpoint
requires some notion of defining associations.It might be necessary to change the CakePHP core to add more methods to specific interfaces. Some of the things that need to be made:
\Cake\Datasource\AssociationInterface
to describe a general association between twoRepositoryInterface
implementations. [RFC] [3.3] Add support for associations in custom datasource cakephp/cakephp#9002.The text was updated successfully, but these errors were encountered: