Closed matt-lethargic closed 1 year ago
Changing PostgresStreamSubscriptionOptions.Stream to be mutable, this now is more in-line with how the documentation outlines it's usage:
builder.Services.AddSubscription<PostgresStreamSubscription, PostgresStreamSubscriptionOptions>( "StreamSubscription", builder => builder .Configure(x => x.StreamName = "my-stream") .AddEventHandler<StreamSubscriptionHander>() );
but the document should now be:
builder.Services.AddSubscription<PostgresStreamSubscription, PostgresStreamSubscriptionOptions>( "StreamSubscription", builder => builder .Configure(x => x.StreamName = new StreamName("my-stream")) .AddEventHandler<StreamSubscriptionHander>() );
and is now closer to how StreamPersistentSubscriptionOptions is created.
StreamPersistentSubscriptionOptions
(documentation site will need a PR if this is accepted)
All committers have signed the CLA.
Changing PostgresStreamSubscriptionOptions.Stream to be mutable, this now is more in-line with how the documentation outlines it's usage:
but the document should now be:
and is now closer to how
StreamPersistentSubscriptionOptions
is created.(documentation site will need a PR if this is accepted)