Comments (7)
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.
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.
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.
I know this is an old post, but removing [UseApplicationDbContext]
from the GetTracks
method works
from graphql-workshop.
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.
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)
- The field `id` does not exist on the type `CommandsConnection`. HOT 1
- "There was no argument with the name `speaker` found on the field `sessions`." HOT 4
- Cannot access a disposed context exception in HotChocolate V12
- url not found in workshop HOT 1
- Id field being returned as base64 encoded string instead of Guid HOT 6
- [ScopedService] is Obsolete, but using [Service(ServiceKind.Pooled)] fails HOT 6
- [Session 3] Speaker schema not updated HOT 1
- Subscription is closed with the error "Value cannot be null. (Parameter 'payload')" when need to return null HOT 2
- Caching is not working - Not returning any data on query - on version 13.9.1 HOT 1
- There was no argument with the name `speaker` found on the field `sessions HOT 2
- Configure Identity for graphql using HotChocolate?
- Please update graphql workshop docs for learning HOT 1
- RenameSession Error HOT 1
- Hi @Sebosek HOT 1
- How to use projection in data loader HOT 4
- All ToArrayAsync do not use cancelation tokens HOT 1
- Error in SpeakerType.cs on page 3-understanding-dataLoader.md ? HOT 2
- Session 3: Unable to resolve service for type 'DAL.PRdbContext' while attempting to activate 'DAL.Repositories.UserRepository' HOT 1
- Session 3 - final query ended with errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-workshop.