-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL failed to retrieve more than one type in single request #17282
Comments
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
I'm also seeing a similar issue when running SQL Server, and for 2.1.3, but with different exceptions. We updated to the latest release recently and it seems to have broken some of our queries, so a pretty major issue :( Some of the exception messages I've seen are:
If I enable EnableThreadSafetyChecks for YesSql in my appsettings, I get this instead: What's the best way to work around this for now? Downgrade to pre-2.1.0, or maybe enable MultipleActiveResultSets on the connection string? |
Hi, I created PR that fixes this issue but I'm curious if It can be included in next 2.x release (if it planned) because this is regress of 2.1 version agains 1.8 that blocks migration of our project. |
Describe the bug
When request more than one GraphQL command that require DB aceess they execute in parellel and result wih error.
Orchard Core version
2.1.0
To Reproduce
Logs and screenshots
Seems like during migration on GrapgQL v7 LockedAsyncFieldResolver was incorrectly refactored.
Method LockedAsyncFieldResolver was marked as 'new' and does not execute.
https://github.com/OrchardCMS/OrchardCore/blob/d8168f2cf03b7c986e757aaaa8b060a255eb8c5b/src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Resolvers/LockedAsyncFieldResolver.cs#L13C42-L13C43
The text was updated successfully, but these errors were encountered: