diff --git a/src/Speckle.Sdk/Api/GraphQL/Inputs/ModelIngestionInputs.cs b/src/Speckle.Sdk/Api/GraphQL/Inputs/ModelIngestionInputs.cs index 9f243b11..1215d034 100644 --- a/src/Speckle.Sdk/Api/GraphQL/Inputs/ModelIngestionInputs.cs +++ b/src/Speckle.Sdk/Api/GraphQL/Inputs/ModelIngestionInputs.cs @@ -19,7 +19,12 @@ public record ModelIngestionCreateInput( public record ModelIngestionUpdateInput(string ingestionId, string projectId, string progressMessage, double? progress); -public record ModelIngestionSuccessInput(string ingestionId, string projectId, string rootObjectId); +public record ModelIngestionSuccessInput( + string ingestionId, + string projectId, + string rootObjectId, + string? versionMessage +); public record ModelIngestionFailedInput( string ingestionId, diff --git a/tests/Speckle.Sdk.Tests.Integration/Api/GraphQL/Resources/ModelIngestionResourceTests.cs b/tests/Speckle.Sdk.Tests.Integration/Api/GraphQL/Resources/ModelIngestionResourceTests.cs index bb25a5be..829deb5a 100644 --- a/tests/Speckle.Sdk.Tests.Integration/Api/GraphQL/Resources/ModelIngestionResourceTests.cs +++ b/tests/Speckle.Sdk.Tests.Integration/Api/GraphQL/Resources/ModelIngestionResourceTests.cs @@ -130,7 +130,7 @@ public sealed class ModelIngestionResourceTests : IAsyncLifetime new(true, true) ); - ModelIngestionSuccessInput finish = new(ingest.id, _project.id, sendResult.RootId); + ModelIngestionSuccessInput finish = new(ingest.id, _project.id, sendResult.RootId, "yay!"); string versionId = await Sut.Complete(finish); Version version = await _testUser.Version.Get(versionId, _project.id); Assert.Equal(version.id, versionId);