paritytech / orchestra

A partial actor pattern with a global orchestrator.
GNU General Public License v3.0
27 stars 3 forks source link

Fix using unimported priority structs #81

Closed AndreiEres closed 4 months ago

AndreiEres commented 4 months ago

Fixes https://github.com/paritytech/orchestra/issues/80

v0.3.7 requires importing of priority related structs what conflicts with the definition of a patch version

In this PR priority related structs prefixed with #support_crate :: that points to otchestra so it doesn't require the explicit import to use #[subsystem].

However if the Sender trait is used it still requires to implement new methods send_message_with_priority and try_send_message_with_priority. This PR https://github.com/paritytech/polkadot-sdk/pull/4763/ shows required changes.

So I suggest bumping the library to v0.4.0. v0.3.7 should be yanked.