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

Added support for Promises in #with (closes #469). #471

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

radekmie
Copy link
Collaborator

As mentioned in #469 (comment), this PR adds support for Promises in #with blocks, just like #424 did that for #if and #each.

Note that due to the way #with is implemented, it takes two "cycles" (i.e., awaits) to fully propagate those results. That should not be a problem, as #with is discouraged anyway.

@radekmie radekmie added this to the Blaze 3.0 milestone Sep 13, 2024
@radekmie radekmie linked an issue Sep 13, 2024 that may be closed by this pull request
@jankapunkt
Copy link
Collaborator

jankapunkt commented Sep 13, 2024

Generally approve, however I can't understand why tests do fail. Here is a snipped from the circleci run:

image

This looks like nothing related to this PR 🤔

@radekmie
Copy link
Collaborator Author

Interesting... They all passed locally.

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

Successfully merging this pull request may close these issues.

Missing resolve properties when handle #with with promise
2 participants