Skip to content
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

API to retrieve root setting #2

Closed
yrutschle opened this issue Jul 28, 2021 · 1 comment
Closed

API to retrieve root setting #2

yrutschle opened this issue Jul 28, 2021 · 1 comment

Comments

@yrutschle
Copy link

yrutschle commented Jul 28, 2021

It used to be possible to retrieve the entirety of the configuration as a hash doing:

$conf->fetch_hashref("/");

This no longer works in libconfig 1.7.3 (hyperrealm/libconfig#196), and Conf::Libconfig has no API that translates to config_root_setting(), so you cannot get to the root and, e.g., enumerate settings you don't know.

@cnangel
Copy link
Owner

cnangel commented Jul 12, 2023

Yes, and had fixed.

@cnangel cnangel closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants