Process non-nullable warnings

This commit is contained in:
Sipke Schoorstra 2020-12-11 21:14:17 +01:00
parent 5fda977d63
commit db2d9b5e8c
4 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ namespace ElsaDashboard.Shared.Rpc
VersionOptions = versionOptions;
}
[ProtoMember(1)] public string WorkflowDefinitionId { get; set; }
[ProtoMember(1)] public string WorkflowDefinitionId { get; set; } = default!;
[ProtoMember(2)] public VersionOptions? VersionOptions { get; set; }
}
}

View file

@ -14,6 +14,6 @@ namespace ElsaDashboard.Shared.Rpc
WorkflowDefinitionVersionId = workflowDefinitionVersionId;
}
[ProtoMember(1)] public string WorkflowDefinitionVersionId { get; set; }
[ProtoMember(1)] public string WorkflowDefinitionVersionId { get; set; } = default!;
}
}

View file

@ -15,6 +15,6 @@ namespace ElsaDashboard.Shared.Rpc
WorkflowInstanceId = workflowInstanceId;
}
[ProtoMember(1)] public string WorkflowInstanceId { get; set; }
[ProtoMember(1)] public string WorkflowInstanceId { get; set; } = default!;
}
}

View file

@ -15,6 +15,6 @@ namespace ElsaDashboard.Shared.Rpc
WorkflowInstanceId = workflowInstanceId;
}
[ProtoMember(1)] public string WorkflowInstanceId { get; set; }
[ProtoMember(1)] public string WorkflowInstanceId { get; set; } = default!;
}
}