Skip to content

EventRefs should have unique values #521

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

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

tsurdilo
Copy link
Contributor

@tsurdilo tsurdilo commented Nov 6, 2021

Signed-off-by: Tihomir Surdilovic [email protected]

Many thanks for submitting your Pull Request ❤️!

Please specify parts this PR updates:

  • [ x] Specification
  • [ x] Schema
  • Examples
  • Extensions
  • Roadmap
  • Use Cases
  • Community
  • TCK
  • Other

What this PR does / why we need it:
Fixes eventRefs array to have unique values as its intended to have
Special notes for reviewers:

Additional information (if needed):

Signed-off-by: Tihomir Surdilovic <[email protected]>
@tsurdilo tsurdilo added this to the v0.8 milestone Nov 6, 2021
@tsurdilo tsurdilo linked an issue Nov 6, 2021 that may be closed by this pull request
@cdavernas
Copy link
Member

@tsurdilo Why would enforcing that uniqueness be required?

@tsurdilo
Copy link
Contributor Author

tsurdilo commented Nov 8, 2021

@cdavernas otherwise the eventRefs is ambiguous, see #520 (comment)

Copy link
Member

@cdavernas cdavernas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@tsurdilo tsurdilo merged commit 82b7442 into serverlessworkflow:main Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onEvent->eventRefs array should have unique values
2 participants