You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Inspired by https://github.com/api-platform/demo
12
12
-[Sixth example use FurnitureDataProvider (collectionDataProvider)]https://github.com/aratinau/api-platform-pagination#sixth-example-use-FurnitureDataProvider-(collectionDataProvider)
13
13
-[Seventh example use QueryBuilder in subresource]
14
14
-[Eight example use QueryBuilder in subresource]https://github.com/aratinau/api-platform-pagination#eight-example-use-QueryBuilder-in-subresource
15
+
-[Ninth use custom subresource with provider (without subresourceDataProvider)]https://github.com/aratinau/api-platform-pagination#ninth-example---custom-subresource-with-provider-(without-subresourceDataProvider)
15
16
16
17
17
18
## First Example use raw data from a csv file
@@ -98,7 +99,9 @@ Basic example showing how use and configure CollectionDataProvider
98
99
99
100
## Seventh example : simple DataProvider using subresourceDataProvider
100
101
101
-
CommentSubresourceDataProvider show how use the standard behaviour
102
+
CommentSubresourceDataProvider show how use the standard behaviour
103
+
104
+
### Usage
102
105
103
106
`api/movies/{id}/comments`
104
107
@@ -110,6 +113,16 @@ DiscussionSubresourceDataProvider show how use QueryBuilder and order by DESC th
110
113
111
114
`api/discussions/{id}/messages?page=1`
112
115
116
+
## Ninth example - custom subresource with provider (without subresourceDataProvider)
117
+
118
+
With JobDataProvider and path `jobs/{id}/employees` return employees from id's job
0 commit comments