Comments (8)
I read through the source code, past and present of api-platform and they seem to have totally dropped the "hydra:PagedCollection" type (only found 2 occurences in a documentation helper class on master) :/
from rest-client-sdk.
So cool you opened this issue, because it is "kind of" fixed in a PR I forgot to merge :)
Maybe you can review it as my collegues does not really watch their github notifications: #53
You still will not have a HydraCollection object, but the class would not work with the hydra:view
anyhow, but you will have a Collection object having a getExtraProperty($key)
method. The HydraPaginatedCollection
is now just a helper class extending the Collection one.
from rest-client-sdk.
I took a look at the PR, it seems to be OK for what we need. Any idea when it could be released ?
Thanks !
from rest-client-sdk.
Will do tomorrow
from rest-client-sdk.
Fixed in 0.20.0, See the CHANGELOG.md for BC
from rest-client-sdk.
Added in the Bundle configuration in the 0.19.0
version of the bundle. See Readme for more informations
from rest-client-sdk.
Updated the package today, everything works as expected (I just had to rename HydraCollection to Collection as described in the breaking changes list and to use the new getExtraProperty(...) method to make pagination work).
Thanks !
from rest-client-sdk.
Great, thanks for your comment !
from rest-client-sdk.
Related Issues (20)
- Persisting an entity with a ManyToOne relation does not convert related entity as IRI HOT 10
- Allow an ID instead of an IRI HOT 1
- Handle exceptions from API HOT 3
- retrieving a list of "abstracted" entities HOT 5
- More recent version of ocramius/proxy-manager HOT 5
- improve performance of related entities retrieval HOT 1
- Do not `PUT` if Unit of work returns an empty diff
- support of partial entities HOT 8
- Creating relation entities even when they aren't resources HOT 6
- page collection
- list available types
- Error if the setter does not exists
- Do not allow two `@Rest\Id` fields
- Proxy initializer function bug HOT 6
- Issue with `UnitOfWork` and query parameters
- Use property accessor
- Allow int as id in model
- DateTime : allow customer format
- DateTime : changing timezone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-client-sdk.