Skip to content

Suggestions for a better DazzleConf #33

Description

@BlueTree242

DazzleConf is a very useful library and makes config cooler and easier, but now let's make it even better.

First of all, change how the interface is processed, instead of current way it works it could be where it loads the interface, and looks for method with default which would have a special default, then it would store these extra defaults when generating the config. and also ability for variable methods, which is not related to the config but to make working with dazzleconf's way of configuration easier. It is simple, we can pass variables with identifier, and there would be an annotation like VariableMethod and requires the identifier, the method then is no longer a configuration option and is just a variable used by default methods to know what they should return exactly. and third is Double order because integers between 2 integers are always finite, but decimals are always infinite. And lastly. it is annoying when you have to use DefaultObject so replace/or add a feature where you can add your own default function like when adding config serializable, identified by a string. And most important of all of this, fixing the bug with hashmap. Also, a converter which allows previous options to change location, for example if the type was previously a list.. but now a map, and the map contains the list, it would move the list into its new location. And also make sure all of this doesn't break if their parents are lists.

This will make dazzleconf easier & more beginner friendly. it will reduce the code you have to write, and make it look better, and will also make the library more advanced. So i hope you add this in the next releases, maybe 2.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions