This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Allow to use path in construct_runtime. #8085
Labels
J0-enhancement
An additional feature request.
Z2-medium
Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Currently construct_runtime only allows to have an identifier for the path of the pallet, this result in code like this:
instead we should be able to do stuff like this:
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.The text was updated successfully, but these errors were encountered: