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

Investigate support for refreshing derefs #5

Open
phronmophobic opened this issue Aug 12, 2022 · 2 comments
Open

Investigate support for refreshing derefs #5

phronmophobic opened this issue Aug 12, 2022 · 2 comments

Comments

@phronmophobic
Copy link
Owner

https://clojurians.slack.com/archives/C03S1L9DN/p1660325273468559?thread_ts=1660322865.445509&cid=C03S1L9DN

For example, Imagine I'm viewing path [:a :d :e :g], and let's say :d is derefable. Am I able to click refresh on :d on that path, and have the data below :d get refreshed?

@phronmophobic
Copy link
Owner Author

Some design issues:

  • should values be refreshed on push/pop?
  • what happens if the current path no longer exists after refreshing?
  • what happens if the current path throws an exception on refresh?
  • should there be a way to selectively refresh some atoms and not others? (I'm leaning towards no, but I'm open to being convinced otherwise)

@isaksky
Copy link

isaksky commented Aug 12, 2022

How I imagined it would work is roughly like this:

image

So if you click on the deref, everything from there on out would be refreshed.

I'll think about those questions and see if I can come up with any ideas.

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