If someone does a serde serialize/deserialize roundtrip with jetstream::stream::Stream, it will result in error, as then ConsumerLimits will be null.
This should not happen in real-world scenarios, as server does not send nulls for those values, however its good to protect against those scenarios in case Go/nats-server changes its behaviour as some point in time.
If someone does a serde serialize/deserialize roundtrip with jetstream::stream::Stream, it will result in error, as then
ConsumerLimits
will benull
. This should not happen in real-world scenarios, as server does not send nulls for those values, however its good to protect against those scenarios in case Go/nats-server changes its behaviour as some point in time.closes #1293
Signed-off-by: Tomasz Pietrek tomasz@nats.io