[Feature Request] Getting multiple values from the store
See original GitHub issueAssume we have a schema;
schema: {
foo: { bar: 'baz' },
bar: { baz: 'foo' },
baz: 'bar'
}
I think it would be nice to get all these values at once like;
const [value1, value2, value3] = conf.get('foo.bar', 'bar.baz', 'baz')
OR
const [value1, value2, value3] = conf.get(['foo.bar', 'bar.baz', 'baz'])
What do you think about this approach?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to track customer feature requests across multiple sources
Once we get some free time, we need to sort through the feedback and link it to existing or new feature requests. One...
Read more >Is it possible to fetch multiple features from feast feature-store ...
In this scenario, the "feature service" component of the Feast can be utilized to pull data from one or more feature views.
Read more >How To Manage Feature Requests [Template included]
This guide will teach you everything about feature requests – how to process ... that are aimed to get more value out of...
Read more >3 ways to manage software feature request - Amoeboids
Discover best practices to manage feature requests from different stakeholders. Practical tips to get you on top of the game.
Read more >Feature Request - Allow multiple values for custom fields #4908
Ability to create and maintain custom fields which have multiple values. For example, a device's IP addresses, or software packages installed.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m ok with supporting
conf.get(['foo.bar', 'bar.baz', 'baz'])if someone does a good pull request with docs, TypeScript types, and tests.@sindresorhus I managed to create a similar concept with strong type-safety. Would you like to check and let me know if we can extract something from there? https://github.com/BatuhanW/haf