Coder Social home page Coder Social logo

Edge ordering about graffiti-mongoose HOT 7 CLOSED

risingstack avatar risingstack commented on July 1, 2024
Edge ordering

from graffiti-mongoose.

Comments (7)

tothandras avatar tothandras commented on July 1, 2024

@moret It's not currently possible to specify an order. It could be implemented by adding an orderBy enum type to arguments based on the fields of the type. We can add this feature request to our list, or you can send in a PR ;). Also, you can always do the ordering on the client side.

from graffiti-mongoose.

moret avatar moret commented on July 1, 2024

@tothandras I see. I would love to dive in and help with a PR, I'm just not sure if I will be able to right now. But I will keep an eye around. Thank you for your reply!

from graffiti-mongoose.

tothandras avatar tothandras commented on July 1, 2024

@moret Please take a loot at #61!

from graffiti-mongoose.

moret avatar moret commented on July 1, 2024

@tothandras looks great! In my use case I still need to use the association array own ordering which got solved in memory on the client as you suggested, but the orderBy solved all other sorting cases. Thanks a lot for the attention to that! 8)

from graffiti-mongoose.

tothandras avatar tothandras commented on July 1, 2024

@moret Is it okay if I merge it as it is? :)

from graffiti-mongoose.

moret avatar moret commented on July 1, 2024

@tothandras sure!

from graffiti-mongoose.

tothandras avatar tothandras commented on July 1, 2024

@moret #61 is merged and released under 4.3.0. ;)

from graffiti-mongoose.

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.