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

FlexObject indexer returns dynamic which forces dynamic programming model even if developer wants to stick to strongly typed model #109

Closed
drub0y opened this issue Feb 14, 2018 · 1 comment
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior.

Comments

@drub0y
Copy link
Contributor

drub0y commented Feb 14, 2018

Currently the indexer of the FlexObject class is typed as dynamic. The problem with this is that, as a .NET developer, if I'm choosing not to use the dynamic programming model of FlexObject and am trying to get/set values through the indexer, it is "forcing" me into the dynamic model.

The indexer should instead be typed as object which would prevent developers being opted into the dynamic model when they don't want/need to be. Note that this doesn't prevent them from treating the values coming out of the indexer as dynamic if they want to, it just won't force it any more.

@cleemullins
Copy link
Contributor

FlexObject has been fully removed in #425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

No branches or pull requests

3 participants