Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Query providers #143

Closed
wants to merge 22 commits into from
Closed

Conversation

TomHAnderson
Copy link
Contributor

A rewrite of the fetch-all query provider into two query providers per resource. One query provider for fetching entities before working on them and a second for fetch-all queries.

The fetch-all might have been rolled in but I prefer to keep the old method and add a new one.

With phpro/zf-doctrine-hydration-module#15 php53 passes unit tests.
This is a BC break.

@TomHAnderson
Copy link
Contributor Author

QueryProviders now use one plugin manager and have one default query provider. You may specify a query provider for any other DoctrineResource method else default is used.

Conflicts:
	README.md
	src/Server/Resource/DoctrineResource.php
	test/src/Server/ODM/CRUD/CRUDTest.php
	test/src/Server/ORM/CRUD/CRUDTest.php
@TomHAnderson
Copy link
Contributor Author

Unit tests pass with php53

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant