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

[API-8] Adjust NamedCatalogType and NamedCatalogBuilder interfaces for expectations #2140

Merged
merged 2 commits into from
Jul 2, 2020

Conversation

ItsDoot
Copy link
Member

@ItsDoot ItsDoot commented Jul 1, 2020

Two things this PR does:

Remove the default implementation of NamedCatalogType#getName

If we were to keep this default implementation, we're right back at the issue of api 7's CatalogType. If plugin devs want their catalog types to have names, the names should be meaningful.

Make NamedCatalogBuilder#name(Translation) default implemented

I expect that most plugin devs will not care about translations for their catalog type names, and will just want quick and dirty (yet still meaningful) names.

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.

2 participants