edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

`edgedb configure` should maybe get the list of config values via reflection

Open msullivan opened this issue 1 year ago • 0 comments

Otherwise we'll probably end up always missing some. If we do it via reflection, it's easy to include extension configs too.

This should get all the config properties that can be set with SET

select schema::ObjectType {
    name,
    properties: { name, typ := .target.name },
}
filter .name = 'cfg::AbstractConfig'
or 'cfg::ExtensionConfig' in .ancestors.name;

msullivan avatar Nov 08 '23 03:11 msullivan