OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

[GraphQL] Mutation support in Dev branch

Open jasjae opened this issue 5 years ago • 6 comments

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?

jasjae avatar Jan 01 '19 05:01 jasjae

believe it will be reintroduced later, see https://github.com/OrchardCMS/OrchardCore/tree/graphqlmutations

carlwoodhouse avatar Jan 03 '19 14:01 carlwoodhouse

Mutations are already supported, it's just that none has been implemented in dev yet.

sebastienros avatar Jan 03 '19 20:01 sebastienros

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.

jasjae avatar Jan 06 '19 09:01 jasjae

Probably at least wants the graphql permissions pr #3951 so we can have sep permissions for mutations/vs read

carlwoodhouse avatar Oct 30 '19 10:10 carlwoodhouse

Related: https://github.com/OrchardCMS/OrchardCore/issues/4489

Piedone avatar Aug 30 '21 11:08 Piedone

@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

aaronamm avatar Jan 19 '22 09:01 aaronamm