Cannot implicitly convert type 'ulong' to 'long' when Deleting a message
aliasadidev opened this issue · 1 comments
aliasadidev commented
Observed behavior
There are lots of issues regarding to the data types.
var ack = await JSContext.PublishAsync("SUBJECT", null);
await steam.DeleteMessageAsync(new StreamMsgDeleteRequest { Seq = ack.Seq }); // getting an error here because the datatypes are not same
Expected behavior
Datatypes should be defined correctly. (i have checked that with the server datatypes)
public record StreamMsgDeleteRequest {
public ulong Seq { get; set; }
}
Server and client version
nats-server version: v2.10.10
Host environment
No response
Steps to reproduce
No response
aliasadidev commented
done it in #397