This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Description
Currently construct_runtime only allows to have an identifier for the path of the pallet, this result in code like this:
use pallet_session::historical as pallet_session_historical;
construct_runtime!(
...
Historical: pallet_session_historical::{Module},
);
instead we should be able to do stuff like this:
construct_runtime!(
...
Historical: pallet_session::historical::{Module},
);
Maybe impl_outer_* should be reimplemented in procedural macro so that this issue is easier to do.
Or we can make construct_runtime note using them and instead use its own code (which shouldn't be a lot of code actually, but would be great to share code generation for stuff like impl_outer_inherent).
Or maybe we can just handle path in impl_outer_* but this is probably tricky and doesn't worth the pain.