You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@evergreen-trading-systems actually proc-macros where designed with this feature in mind. But WorldInit produces structs with the same names. Fixed and covered with tests to avoid regression in #150
For now you can place your World declarations in separate modules and re-export them
pubuseself::{first::AnimalWorld1, second::AnimalWorld2};pubmod first {#[derive(Debug,WorldInit)]pubstructAnimalWorld1;#[async_trait(?Send)]implWorldforAnimalWorld1{typeError = Infallible;asyncfnnew() -> Result<Self,Infallible>{Ok(Self{})}}}pubmod second {#[derive(Debug,WorldInit)]pubstructAnimalWorld2;#[async_trait(?Send)]implWorldforAnimalWorld2{typeError = Infallible;asyncfnnew() -> Result<Self,Infallible>{Ok(Self{})}}}
Please add some gotchas or common pitfalls to docs.
FAILS
conflicting implementation for CucumberThenRegexAsync
The text was updated successfully, but these errors were encountered: