zngly / wp-graphql-acf-mutations

WP GraphQl ACF Mutations Plugin
Other
7 stars 1 forks source link

Can i mutate the repeater field? #11

Open sinascience opened 1 year ago

sinascience commented 1 year ago

please give me the documentation of mutating ACF repeater field with this plugin

zngly-vlad commented 1 year ago

You can search the types using the graphql ide document explorer

image

sinascience commented 1 year ago

i found the documentation, but it wouldn't update my repeater field

image

Pada tanggal Kam, 10 Nov 2022 01.07, zngly-vlad @.***> menulis:

You can search the types using the graphql ide document explorer

[image: image] https://user-images.githubusercontent.com/87081580/200906854-572bc1d3-0ff1-4275-b609-edf55f0ec556.png

— Reply to this email directly, view it on GitHub https://github.com/zngly/wp-graphql-acf-mutations/issues/11#issuecomment-1309161753, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LJX3T2KSIHFJPQKRTYI2DWHPR6TANCNFSM6AAAAAAR3PHJ2E . You are receiving this because you authored the thread.Message ID: @.***>

zngly-vlad commented 1 year ago

@sinascience It might need a bit more work to support mutation the way you have it at the moment but you should have your repeater input be an array of object

e.g.

input: {
    commentLike: [
        { likeBool: true }
    ]
}