OrchardCore
OrchardCore copied to clipboard
[GraphQL] Mutation support in Dev branch
Hi,
The mutation support in the JSONAPI branch seems not to have been carried across to the Dev branch. Is this as designed/planned? Or is it planned to be reintroduced later?
believe it will be reintroduced later, see https://github.com/OrchardCMS/OrchardCore/tree/graphqlmutations
Mutations are already supported, it's just that none has been implemented in dev yet.
believe it will be reintroduced later, see https://github.com/OrchardCMS/OrchardCore/tree/graphqlmutations
Thanks for the link, it helped me implement a version suitable for my needs. FWIW, I'd say there's still a bit to do in Dev before ContentType mutations are complete, but it's fairly complete.
Probably at least wants the graphql permissions pr #3951 so we can have sep permissions for mutations/vs read
Related: https://github.com/OrchardCMS/OrchardCore/issues/4489
@carlwoodhouse Thanks for pointing out "graphqlmutations" branch. I have pulled some links that can be useful for other people who want to implement mutation in Orchard Core CMS.
-
https://github.com/OrchardCMS/OrchardCore/tree/graphqlmutations/src/OrchardCore/OrchardCore.ContentManagement.GraphQL/Mutations
-
https://github.com/OrchardCMS/OrchardCore/blob/graphqlmutations/src/OrchardCore/OrchardCore.ContentManagement.GraphQL/Mutations/CreateContentItemMutationBuilder.cs#L70