-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Database File Limit #7047
base: dev/feature
Are you sure you want to change the base?
Database File Limit #7047
Conversation
Please note, to optimally fix the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
Dev note: The breaking change is because the field behavior is being changed from type to configuration name, thus the field should be private to avoid anyone extending VariableStorage to be using old behavior.
The current VariableStorage API is very recent, and this change is minimal.
Added, Javadoc note for getUserConfigurationName() Changed, database(Name|Type) fields to private Changed, all usages of 'databaseName' to 'getUserConfigurationName()' Changed, 'registeredFiles' to Set Changed, 'name' var
Question, should we also restrict the usage of same database names? |
Description
This PR aims to restrict the usage of a file to only one database. Precautionary measure
databaseName
field and adds adatabaseType
fieldTarget Minecraft Versions: any
Requirements: none
Related Issues: #6858