Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group all structs derived from a module into a single trait. #504

Closed
zie1ony opened this issue Jul 23, 2024 · 0 comments · Fixed by #509
Closed

Group all structs derived from a module into a single trait. #504

zie1ony opened this issue Jul 23, 2024 · 0 comments · Fixed by #509

Comments

@zie1ony
Copy link
Contributor

zie1ony commented Jul 23, 2024

trait Gens {
    type HostRef: Deployer;
    type ContractRef: ContractRef;
    type InitArgs: InitArgs;
}

impl Gens for Controller {
    type HostRef = ControllerHostRef;
    type ContractRef = ControllerContractRef;
    type InitArgs = ControllerInitArgs;
}
@github-project-automation github-project-automation bot moved this to 🆕 Discuss in ⚔️Tavern 🐉 Jul 23, 2024
@kpob kpob linked a pull request Aug 5, 2024 that will close this issue
@kpob kpob closed this as completed in #509 Aug 6, 2024
@github-project-automation github-project-automation bot moved this from 🆕 Discuss to ✅ Done in ⚔️Tavern 🐉 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant