Skip to content

Reliably getting access to a prefix's arguments in :description's during refresh #362

Closed Answered by tarsius
jdtsmith asked this question in Q&A
Discussion options

You must be logged in to vote

But honestly I'm not sure I understand it. Is it returning the same thing transient-args would return?

As the docstring mentions, it does not include the values of "unsavable" suffixes. That's because it was original intended to be used when saving values. If and once someone needs those unsavable values too, then I can add an argument to not strip those.

It doesn't seem to reference the current prefix at all.

When a prefix created, the individual values of its suffixes are set based on its value. This is the only time the "live" value of the prefix is sure to be up-to-date. When the user changes the value of a suffix, this does not change the value of the prefix. When a suffix reques…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tarsius
Comment options

Answer selected by jdtsmith
Comment options

You must be logged in to vote
4 replies
@tarsius
Comment options

@jdtsmith
Comment options

@tarsius
Comment options

@jdtsmith
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants