Skip to content
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

Use static typing in ContentFieldsProvider instead of dynamic. #15763

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

gvkries
Copy link
Contributor

@gvkries gvkries commented Apr 15, 2024

Fixed querying content fields with GraphQL by replacing the use of dynamic types with static typing in the ContentFieldsProvider class.

This change will not address the underlying issue that dynamic types stopped functioning after upgrading to System.Text.Json. However, adopting static typing is more beneficial in the long run.

Fixes #15718

@MikeAlhayek MikeAlhayek merged commit 03c6cba into OrchardCMS:main Apr 15, 2024
4 checks passed
@gvkries gvkries deleted the gvkries/graphql-15718 branch April 16, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GraphQL] Error when trying to resolve fields (DateField, DateTimeField)
2 participants