Skip to content

Support saving null values/creating non-virtual empty nodes #626

Description

@hboyd2003

Currently, Configurate (with its default configuration implementation) makes it impossible to create a non-virtual empty node. This means, in effect, that you cannot save a null node.

Supporting null values would be useful in a few scenarios. Namely, an optional config option with no default value cannot be saved to the config. This means that the user cannot be made aware of such an option merely by looking at the config, they would have to look at docs or other resources to know of its existence.

Configurate seems to be specifically designed to avoid the creation of non-virtual empty nodes which is why I haven't implemented this myself. The changes would require at least a few fundamental changes to the api.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions