Giter VIP home page Giter VIP logo

Comments (5)

bdrelling avatar bdrelling commented on August 23, 2024

Same question. @alexsteinerde, can you let us know your plans for this repository? Thanks!

from graphql-kit.

alexsteinerde avatar alexsteinerde commented on August 23, 2024

The async/await support comes with Graphiti already built in. This package is only a layer on top with additional resolver functions for Fluent objects which don't require mention EventLoops to the public API at the moment.
So updating Graphiti should give you async/await resolvers.

Or do you have any specific function that ships with this package and doesn't support async/await?

from graphql-kit.

Samsv77 avatar Samsv77 commented on August 23, 2024

The native Graphiti methods are not integrated with Vapor and Fluent, in particular the request object. So we can't use the async throws method without adding the Vapor integration layer manually.

from graphql-kit.

alexsteinerde avatar alexsteinerde commented on August 23, 2024

I'm sorry but I currently don't see any EventLoops in the public interface.
Could you please provide me with an example? Probably I just missed a place.

from graphql-kit.

GiovanniLuigi avatar GiovanniLuigi commented on August 23, 2024

Maybe he's referring to public func register<RootType>(graphQLSchema schema: Schema<RootType, Request>, withResolver rootAPI: RootType, at path: PathComponent="graphql", postBodyStreamStrategy: HTTPBodyStreamStrategy = .collect)

from graphql-kit.

Related Issues (18)

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.