You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
1st thanks for this useful tool. I would like to ask/request if it's possible to sort the seed files when defining a seed pattern.
Describe the solution you'd like
I'm thinking about naming the file starting with numbers so that locter package or this package after resolving the files, sorts by filename.
Imaging I have my seeders named 0_token-mint.seed.ts and 1_token-price.seed.ts therefore they run sequentially cuz token price depends on token mint. I think this should work along with parallelExecution: false and be documented.
Describe alternatives you've considered
I could order my seeds using an array but I found more Dev friendly to use filenames.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
inglkruiz
changed the title
Feature:
Feature: sort filenames when defining a pattern.
Apr 19, 2023
Is your feature request related to a problem? Please describe.
1st thanks for this useful tool. I would like to ask/request if it's possible to sort the seed files when defining a seed pattern.
Describe the solution you'd like
I'm thinking about naming the file starting with numbers so that
locter
package or this package after resolving the files, sorts by filename.Imaging I have my seeders named
0_token-mint.seed.ts
and1_token-price.seed.ts
therefore they run sequentially cuz token price depends on token mint. I think this should work along withparallelExecution: false
and be documented.Describe alternatives you've considered
I could order my seeds using an array but I found more Dev friendly to use filenames.
Additional context
N/A
The text was updated successfully, but these errors were encountered: