Make variable interface suitable for dynamic value lookup
See original GitHub issueIs your feature request related to a problem? Please describe.
I use many variables. Therefore I implement the IDictionary<string, object> interface to lookup variable values dynamically. This worked until version 2.2.0. As of version 2.2.0, the Property Count seems to be used, which cannot be implemented using dynamic value lookup.
Describe the solution you’d like
Instead of IDictionary<string, object>, a simplified interface suitable for dynamic value lookup could be used:
public interface IVariables
{
bool TryGetValue(string key, [MaybeNullWhen(false)] out object value);
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Dynamic type depending on variable value? : r/typescript
I've got a few interfaces that extend a base interface. The base type is called "ContentPiece" and the types that extend it are...
Read more >How to define an interface for objects with dynamic keys?
E.g. string . You may use any or unknown if they may have any value. In the export type obj<T = unknown> =...
Read more >dynamic access of interface members
I want to access the members of Interface dynamically . Using java.lang.reflect.Fields we can access the Class variables dynamically.
Read more >Interface Variables and Inputs - Appian 23.2
The most common way to configure a component is to set its value and saveInto to the same variable. To see how this...
Read more >Guide to Golang Interface and How to Implement It
You can find the dynamic value of an interface using the syntax i.(Type), where i is a variable of type interface and Type...
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

Removed from milestone ‘Next release’ to allow this issue to stay open. Note the initial issue has been resolved in release v2.3.0 but I would like to keep this open and follow through with further investigation on dynamic variable loading.
Include in release v2.4.0