amplify-graphql-seed-plugin icon indicating copy to clipboard operation
amplify-graphql-seed-plugin copied to clipboard

Mutations in seed-data.js are run alphabetically rather than in order

Open LaurensBrinker opened this issue 2 years ago • 0 comments

When I define my mutations in the seed-data.js file, my mutations are executed alphabetically by the plugin (by the name of the object which holds the mutation and data), rather than by the order in which I defined them in the file. Because I'm seeding relational data, the order matters, so I would like to manage the order of mutations in a different way than renaming the objects so that it has an alphabetic order.

LaurensBrinker avatar Mar 30 '22 11:03 LaurensBrinker