Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async Task UploadSchema(StatusContext? ctx)

var input = new UploadSchemaInput
{
Schema = new Upload(stream, "operations.graphql"),
Schema = new Upload(stream, "schema.graphqls"),
ApiId = apiId,
Tag = tag
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace ChilliCream.Nitro.CommandLine.Options;

internal sealed class OptionalSubgraphIdOption : Option<string>
{
public OptionalSubgraphIdOption() : base("--subgraph-id", "The id of the subgraph")
{
Comment thread
tobias-tengler marked this conversation as resolved.
IsRequired = false;
IsHidden = true;
this.DefaultFromEnvironmentValue("SUBGRAPH_ID");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace ChilliCream.Nitro.CommandLine.Options;

internal sealed class OptionalSubgraphNameOption : Option<string>
{
public OptionalSubgraphNameOption() : base("--subgraph-name", "The name of the subgraph")
{
Comment thread
tobias-tengler marked this conversation as resolved.
IsRequired = false;
IsHidden = true;
this.DefaultFromEnvironmentValue("SUBGRAPH_NAME");
}
}
18 changes: 0 additions & 18 deletions src/Nitro/CommandLine/src/CommandLine/Options/SubgraphIdOption.cs

This file was deleted.

18 changes: 0 additions & 18 deletions src/Nitro/CommandLine/src/CommandLine/Options/SubgraphName.cs

This file was deleted.

Loading