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

Safe NanoRead instances #34

Open
samuel-utbult-oborgen opened this issue Feb 3, 2022 · 0 comments
Open

Safe NanoRead instances #34

samuel-utbult-oborgen opened this issue Feb 3, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@samuel-utbult-oborgen
Copy link
Collaborator

It's currently possible to take a NanoRead reference, cast it to a NanoVar instance and thereby change its value. Add a method called nanoRead on NanoVar instances that returns a new NanoRead instance that does not inherit from NanoVar and wraps a NanoVar instance in such a way that it cannot be accessed.

@samuel-utbult-oborgen samuel-utbult-oborgen added the enhancement New feature or request label Feb 3, 2022
@samuel-utbult-oborgen samuel-utbult-oborgen added this to the v1.2.0 milestone Feb 3, 2022
@samuel-utbult-oborgen samuel-utbult-oborgen self-assigned this Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant