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

[FEATURE] Nested config values #1902

Open
jribbink opened this issue Jun 10, 2024 · 0 comments
Open

[FEATURE] Nested config values #1902

jribbink opened this issue Jun 10, 2024 · 0 comments
Labels

Comments

@jribbink
Copy link
Contributor

Issue to be solved

FCL would greatly benefit from nested config values.

I.e.

fcl.config.get("foo")
// {"bar": 123, "baz": 456}
// where "foo.bar" = 123 & "foo.baz" = 456

This would also streamline setting configuration:

fcl.config({
  foo: {
     bar: 123,
     baz: 456
  }
})

as users can now treat their configuration as a nested hierarchy instead of a flat map of values.

For backward-compatibility, both formats should be supported still.

Suggest A Solution

No response

What are you currently working on that this is blocking?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant