Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
- Loading branch information