serverlessworkflow / specification

Contains the official specification for the Serverless Workflow Domain Specific Language. It provides detailed guidelines and standards for defining, executing, and managing workflows in serverless environments, ensuring consistency and interoperability across implementations.
http://serverlessworkflow.io
Apache License 2.0
730 stars 146 forks source link

Rename action `functionRef` property #828

Closed cdavernas closed 3 months ago

cdavernas commented 6 months ago

What would you like to be added:

Now that we split eventRef into two new subscribe and publish properties, we should rename the functionRef into something like call, so that we aim at consistently using imperative tense. We should also rename the functionRef's refName property into function.

actions:
- name: my-action
  call:
    function: greet
    arguments:
      greetings: Hello, World!

Why is this needed:

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.