Skip to content

[Nitro CLI] Add fusion migrate subgraph-config command#9456

Merged
tobias-tengler merged 3 commits intomainfrom
tte/add-fusion-migrate-command
Mar 26, 2026
Merged

[Nitro CLI] Add fusion migrate subgraph-config command#9456
tobias-tengler merged 3 commits intomainfrom
tte/add-fusion-migrate-command

Conversation

@tobias-tengler
Copy link
Copy Markdown
Member

No description provided.

@tobias-tengler tobias-tengler marked this pull request as ready for review March 26, 2026 12:05
Copilot AI review requested due to automatic review settings March 26, 2026 12:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new nitro fusion migrate command intended to help migrate legacy Fusion configuration files (starting with subgraph-config.json) to the newer schema-settings.json format.

Changes:

  • Introduce FusionMigrateCommand with a subgraph-config migration target that scans the working directory recursively and writes schema-settings.json.
  • Wire the new migrate command into the existing fusion command group.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionMigrateCommand.cs Implements the new migration command and JSON transformation logic.
src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionCommand.cs Registers the new fusion migrate subcommand.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants