writing custom metadata to a stream

Hi,

I’m just looking in to writing custom metadata to a stream. In the StreamMetaData class there does not appear to be a way to set a custom metadata key/value, whilst there is a number of ways to read these.

What is the procedure for setting some metadata and obtaining the current metadata stream version?

Kind regards

Sean.

On phone looks like not exposed except for via Json I’ll add

https://github.com/EventStore/EventStore/blob/dev/src/EventStore.ClientAPI/StreamMetadata.cs

It’s for KV only btw if you want more use Json yourself.

Greg

Hi Greg,

Thanks. Are you producing NuGet packages of the dev branch?

Cheers

Sean.

My mistake its available in the builder.
https://github.com/EventStore/EventStore/blob/dev/src/EventStore.ClientAPI/StreamMetadataBuilder.cs#L325

Cheers,

Greg