Skip to content

fix: open configuration#34

Merged
Distractic merged 7 commits intomainfrom
fix/open_configuration
Mar 4, 2023
Merged

fix: open configuration#34
Distractic merged 7 commits intomainfrom
fix/open_configuration

Conversation

@Distractic
Copy link
Copy Markdown
Collaborator

Context

Currently, we can't override the function to load the configuration from a file.
So, we're using the Hocon default instance to load a configuration class from a file.

However, this instance doesn't have the configuration to serialize the Minestom and other objects (like Pos with PosSerializer).

Furthermore, sometimes it could be useful to load the configuration in another way (database, or something else).

To do

  • Refactor configuration system
  • Tests

@Distractic Distractic requested a review from Quentixx February 26, 2023 14:06
@Distractic Distractic self-assigned this Feb 26, 2023
@Distractic Distractic added the enhancement New feature or request label Feb 26, 2023
@Distractic Distractic marked this pull request as ready for review February 26, 2023 17:50
@Distractic Distractic merged commit c0fd412 into main Mar 4, 2023
@Distractic Distractic deleted the fix/open_configuration branch March 4, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants