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

Question: get in/set in functions? #3

Open
loganpowell opened this issue Jun 2, 2023 · 2 comments
Open

Question: get in/set in functions? #3

loganpowell opened this issue Jun 2, 2023 · 2 comments

Comments

@loganpowell
Copy link

Hi @tim-smart, am new to Dart and looking around the ecosystem for things I've grown attached to in JS. I was happy to find nucleus. It is similar in spirit to one of my favorite JS libs. I was wondering if you've considered adding some lensed/path-based accessors/setters to Nucleus?

@tim-smart
Copy link
Owner

No I haven't considered adding lens/path access.

I found the select API to meet all my needs:
https://pub.dev/documentation/nucleus/latest/nucleus/AtomExtension/select.html

@loganpowell
Copy link
Author

loganpowell commented Jun 4, 2023

Is there any additional documentation on how I might use this to mutate/deep-get some nested state (e.g., a nested Map)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants