Closed Ankurkh1 closed 6 years ago
https://github.com/pardahlman/RawRabbit/blob/e4b6081ee3d057bfaa4b634d92e5a23a7d0de6c1/src/RawRabbit.Operations.Get/GetOperation.cs#L22
Line 22 should test for nulls. Like how it does for GetOfTOperation DeliveryTagFunc = context => context.GetBasicGetResult()?.DeliveryTag ?? 0,
You are right - feel free to submit a PR for this 👍
https://github.com/pardahlman/RawRabbit/blob/e4b6081ee3d057bfaa4b634d92e5a23a7d0de6c1/src/RawRabbit.Operations.Get/GetOperation.cs#L22
Line 22 should test for nulls. Like how it does for GetOfTOperation DeliveryTagFunc = context => context.GetBasicGetResult()?.DeliveryTag ?? 0,