OpenBazaar / openbazaar-go

OpenBazaar 2.0 Server Daemon in Go
MIT License
994 stars 283 forks source link

Protect new Message Types from being omitted in net/retriever.MessageProcessingOrder #1043

Open placer14 opened 6 years ago

placer14 commented 6 years ago

Background: https://github.com/OpenBazaar/openbazaar-go/pull/1040#discussion_r204418698

As a developer, I expect a new message type to raise a failure in the unit test suite when not included in either the MessageProcessingOrder or a blacklist indicating it should not be included so I will not forget to include it in the future.

ianbibby commented 6 years ago

@placer14 for comments on PR #1229 .