Update InitPendingOrganizationRequest to allow optional collection name

- Modified the CollectionName property to be nullable, allowing for no collection to be created if the value is null or empty.
- Enhanced documentation to clarify the optional nature of the CollectionName parameter.
This commit is contained in:
Rui Tome
2026-01-30 16:40:45 +00:00
parent bb42cc73dc
commit 30e386d69d

View File

@@ -33,9 +33,9 @@ public record InitPendingOrganizationRequest
public required string PrivateKey { get; init; }
/// <summary>
/// The name of the default collection to create.
/// The name of the default collection to create. Optional - if null or empty, no collection is created.
/// </summary>
public required string CollectionName { get; init; }
public string? CollectionName { get; init; }
/// <summary>
/// The email token for validating the invitation.