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

Ephemerals should be available in late binding functions #1739

Open
cfxegbert opened this issue Apr 29, 2024 · 1 comment
Open

Ephemerals should be available in late binding functions #1739

cfxegbert opened this issue Apr 29, 2024 · 1 comment

Comments

@cfxegbert
Copy link
Contributor

Late binding functions have access to implicits in the function but not to ephemerals.

Motivation
To get to an ephemeral in a late binding function I have to use context.resolved_ephemerals which is a list. I have to search through the list manually to get the ephemeral. Having the EphemeralBinding object will allow me to easily call get_range instead of searching the list.

@cfxegbert
Copy link
Contributor Author

Looks like the ephemerals are available in the request object as a workaround. To be consistent it should be available as ephemerals when in_context() is true.

cfxegbert added a commit to cfxegbert/rez that referenced this issue Apr 30, 2024
)

Signed-off-by: Robert Minsk <robertminsk@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant