GithubHelp home page GithubHelp logo

Comments (7)

EncodedViking avatar EncodedViking commented on September 28, 2024 1

I'm experiencing this same behavior. Any word on it? It exists in version 12.5.0 as well as 12.4.1.

from graphql-workshop.

zachbugay avatar zachbugay commented on September 28, 2024 1

I am still experiencing this issue on 12.7.0 as well. It would be nice to have an update around this.

from graphql-workshop.

albx avatar albx commented on September 28, 2024 1

Same issue on tracks query mentioned in step 6 (https://github.com/ChilliCream/graphql-workshop/blob/master/docs/6-adding-complex-filter-capabilities.md#add-paging-to-your-lists) using v 12.7.0.

For me too removing the disposeAsync in the UseDbContext middleware solves the issue.
Any updates on what is the best way to approach?

Thanks

from graphql-workshop.

esausilva avatar esausilva commented on September 28, 2024 1

I know this is an old post, but removing [UseApplicationDbContext] from the GetTracks method works

from graphql-workshop.

bardhyliis avatar bardhyliis commented on September 28, 2024

Same issue on tracks query mentioned in step 6 (https://github.com/ChilliCream/graphql-workshop/blob/master/docs/6-adding-complex-filter-capabilities.md#add-paging-to-your-lists) using v 12.7.0.

For me too removing the disposeAsync in the UseDbContext middleware solves the issue. Any updates on what is the best way to approach?

Thanks

You got any other solution except removing disposeAsync?

from graphql-workshop.

JohanHeyvaert avatar JohanHeyvaert commented on September 28, 2024

Same problem here.
Removing disposeAsync "fixes" the problem so thanks for that workaround.

Earlier I tried to fix it by using RegisterDbContext() from HotChocolate.Data.EntityFramework (cf. article https://chillicream.com/docs/hotchocolate/integrations/entity-framework) but so far I didn't manage to get it up and running. I'm not sure what to do in the type resolvers and the dataloaders. Also, do we still need to use UseApplicationDbContextAttribute?
It would be great if the workshop could be updated using this technique!

from graphql-workshop.

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.