Can I Create Multiple Elements Of The Same Type Using Strapi And GraphQL?
Can I create multiple elements of the same type using Strapi and GraphQL? For example - createMultipleFoo mutation(data: [ nameOfFoo: 'ooaoaoa', weightOfFoo: 'aododo' ]
Solution 1:
It's in the roadmap.
What you can do for now is create a custom endpoint ie. "createMulti". Send a json array, and use the "regular" create for each. Check out the discussion here.
Update Q4 2021: Status moved to "In Progress (Development)"
Post a Comment for "Can I Create Multiple Elements Of The Same Type Using Strapi And GraphQL?"