You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When done activating OrchardCore.Seo feature whole GraphQL schema will crash and be unusable. Because of way MediaField in SeoMetaQueryObjectType is resolved
To Reproduce
Steps to reproduce the behavior:
site with headless recipe
go to graphi, everything works
activate seo feature
go to graphi
exception
The text was updated successfully, but these errors were encountered:
The problem is that GraphQL types are registered as scoped in DI and those cannot be resolved while the schema is build as a singleton. I think the fix is to make them transient instead, but I'm not fully sure about the implications.
Describe the bug
When done activating OrchardCore.Seo feature whole GraphQL schema will crash and be unusable. Because of way MediaField in SeoMetaQueryObjectType is resolved
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: