Closed NotJustClarkKent closed 4 years ago
The await tag has been updated to remove these clunkier parts of the API see https://markojs.com/docs/core-tags/#await
Using the marko migrate
command in marko-cli
will automatically update the existing syntax.
Bug Report
Marko Version: 4.7.0
Details
Passing
arg-*
to theawait
tag does not inject arguments into the target method.Expected Behavior
Arguments passed via
await
tag attributes are injected into the target method.Actual Behavior
Arguments passed via
await
tag attributes are not injected into the target method.Possible Fix
Within await-tag.js, using the same
call
on the provider rather than using a conditional seems to fix the issue but I'm sure this statement existed to resolve another problem so I'm not confident this will be the fix.Your Environment
Steps to Reproduce
await
:<await(result from wasteTime) arg-duration=input.duration arg-error=input.error>