fix(seed): seed run command matches with docker config #4605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously when you would run
pnpm seed:local run
it would override the generators yaml configuration that you would point to. Now it doesn't.AI Description
This PR introduces a new
image
field to theSeedWorkspaceConfiguration
type in theconfig.yml
file. Theimage field is also added to the
SeedWorkspaceConfigurationinterface in the
SeedWorkspaceConfiguration.ts` file.The `image field is then populated with a string value in the following files:
seed/csharp-model/seed.yml
seed/csharp-sdk/seed.yml
seed/fastapi/seed.yml
seed/go-fiber/seed.yml
seed/go-model/seed.yml
seed/go-sdk/seed.yml
seed/java-model/seed.yml
seed/java-sdk/seed.yml
seed/java-spring/seed.yml
seed/openapi/seed.yml
seed/php-model/seed.yml
seed/php-sdk/seed.yml
seed/postman/seed.yml
seed/pydantic/seed.yml
seed/python-sdk/seed.yml
seed/ruby-model/seed.yml
seed/ruby-sdk/seed.yml
seed/ts-express/seed.yml
seed/ts-sdk/seed.yml
Additionally, the
Language type in the
Language.tsfile is updated to include the
php` language.The
runWithCustomFixture.ts
andDockerTestRunner.ts
files are also modified to include new functions and imports related to the `image field.