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

Make MasterGateway an interface and provide DefaultMasterGateway #390

Merged
merged 3 commits into from
Sep 18, 2021

Conversation

ByteAlex
Copy link
Contributor

This PR tries to make Kord slightly more flexible for weird plugin cases, like I need it.
This change should be non-breaking, as the MasterGateway still has the same fields and methods, but its implementation has been moved to a different class.

@BartArys
Copy link
Contributor

This change should be non-breaking

Changing a class to an interface is a guaranteed breaking change (you can check yourself by running gradle apiDump before and gradle apiCheck after your changes. Not that we're awfully pedantic about breaking changes right now.

Abstracting this is a good idea anyway.

@HopeBaron HopeBaron merged commit 75bd98a into kordlib:0.8.x Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants