Git Product home page Git Product logo

Comments (8)

jmfeurprier avatar jmfeurprier commented on June 22, 2024

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.

jdeniau avatar jdeniau commented on June 22, 2024

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.

jmfeurprier avatar jmfeurprier commented on June 22, 2024

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.

jdeniau avatar jdeniau commented on June 22, 2024

Will do tomorrow

from rest-client-sdk.

jdeniau avatar jdeniau commented on June 22, 2024

Fixed in 0.20.0, See the CHANGELOG.md for BC

from rest-client-sdk.

jdeniau avatar jdeniau commented on June 22, 2024

Added in the Bundle configuration in the 0.19.0 version of the bundle. See Readme for more informations

from rest-client-sdk.

jmfeurprier avatar jmfeurprier commented on June 22, 2024

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.

jdeniau avatar jdeniau commented on June 22, 2024

Great, thanks for your comment !

from rest-client-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.