Git Product home page Git Product logo

Comments (8)

AndrewIngram avatar AndrewIngram commented on May 17, 2024 1

I agree about Sangria's approach in general, it seems to be the most mature GraphQL implementation right now. The original graphql-js was intended purely as a reference implementation and it's starting to show.

from absinthe.

AndrewIngram avatar AndrewIngram commented on May 17, 2024

Looks like Sangria has first-class concepts of Deferred resolvers (what i'm asking for) and Projections (what is already possible, but could be made simpler) which might be worth adopting: http://sangria-graphql.org/learn/#deferred-values-and-resolver

from absinthe.

bruce avatar bruce commented on May 17, 2024

@AndrewIngram The "how" of dataloader certainly isn't a direct port to Elixir/Erlang, but I'm confident we have better tools on hand for, eg, concurrency to apply to an implementation. Dataloader has been on our list of ecosystem tools to look into next, as I know that others in the GraphQL/JS space rely on it.

from absinthe.

benwilson512 avatar benwilson512 commented on May 17, 2024

I'll add that I'm very excited by the options pursued by Sangria, as I think those concepts are going to be more easily applicable to Elixir.

from absinthe.

bruce avatar bruce commented on May 17, 2024

👍

from absinthe.

bruce avatar bruce commented on May 17, 2024

Also see https://github.com/Shopify/graphql-batch for some similar concepts

from absinthe.

bruce avatar bruce commented on May 17, 2024

Tagging this as "roadmap" and closing it, but merely for temporary archival purposes. We know this and a number of other issues are big ticket items we need to address; we've got some of the foundational pieces going in now, and let's create more focused, actionable issues/PR discussion around this (eg, on deferred resolution, which I know @benwilson512 is very interested in as an approach).

from absinthe.

axelson avatar axelson commented on May 17, 2024

Just to close the loop here Absinthe now has a dataloader built-in: https://github.com/absinthe-graphql/dataloader

I believe it can also be considered feature-complete (for the majority of use-cases at least), although I'm not 100% sure on that.

from absinthe.

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.