-
Notifications
You must be signed in to change notification settings - Fork 159
Error title and detail in workflow.yaml
schema should be a Runtime Expression and not a String
#1076
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
Labels
area: spec
Changes in the Specification
change: fix
Something isn't working. Impacts in a minor version change.
type: bug
Milestone
Comments
8 tasks
cdavernas
added a commit
that referenced
this issue
Feb 5, 2025
Fix #1076 - Make detail and title a runtime expression in the schema
nyamathshaik
pushed a commit
to nyamathshaik/specification
that referenced
this issue
Mar 19, 2025
…ion in the schema Signed-off-by: Ricardo Zanini <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]>
ricardozanini
added a commit
that referenced
this issue
Mar 19, 2025
* Fix #1076 - Make detail and title a runtime expression in the schema Signed-off-by: Ricardo Zanini <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Add string as anyOf Signed-off-by: Ricardo Zanini <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * feat(schema): allow expressions in HTTP query and headers (#1080) Issue #1079 Signed-off-by: Alexandru Georoceanu <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multip… (#1082) * update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multiple YAML files Signed-off-by: Gilles Barbier <[email protected]> * fix(contributing): reverting pre-release versioning format Signed-off-by: Gilles Barbier <[email protected]> --------- Signed-off-by: Gilles Barbier <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Fix the description of flow directives and addressed few issues in dsl and dsl-reference (#1083) * update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multip… (#1082) * update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multiple YAML files Signed-off-by: Gilles Barbier <[email protected]> * fix(contributing): reverting pre-release versioning format Signed-off-by: Gilles Barbier <[email protected]> --------- Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl): fix a few issues in dsl and dsl-reference Signed-off-by: Gilles Barbier <[email protected]> * update .gitignore to include .DS_Store Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): correct table formatting Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): clarify flow directive descriptions Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): improve table formatting Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): clarify flow directive descriptions Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl): fix a few issues in dsl and dsl-reference Signed-off-by: Gilles Barbier <[email protected]> * update .gitignore to include .DS_Store Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): correct table formatting Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): clarify flow directive descriptions Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): improve table formatting Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): clarify flow directive descriptions Signed-off-by: Gilles Barbier <[email protected]> * fix(dsl-reference): improve table formatting Signed-off-by: Gilles Barbier <[email protected]> * remove again .DS_Store Signed-off-by: Gilles Barbier <[email protected]> --------- Signed-off-by: Gilles Barbier <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Fix broken link in README.md (#1084) Signed-off-by: Michal Broz <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Set task to support direct runtime expression Signed-off-by: Nyamath Shaik <[email protected]> * updated workflow schema along with table fix Signed-off-by: Nyamath Shaik <[email protected]> * updating the schema Signed-off-by: Nyamath Shaik <[email protected]> * addressing PR comment reviews Signed-off-by: Nyamath Shaik <[email protected]> * removing unwanted set example Signed-off-by: Nyamath Shaik <[email protected]> * Update dsl-reference.md Co-authored-by: Charles d'Avernas <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Update dsl-reference.md Co-authored-by: Charles d'Avernas <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Update dsl-reference.md Co-authored-by: Charles d'Avernas <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * reverting back original set example change Signed-off-by: Nyamath Shaik <[email protected]> * Update dsl-reference.md Co-authored-by: Charles d'Avernas <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * passing the set example as object Signed-off-by: Nyamath Shaik <[email protected]> * reverting to original Signed-off-by: Nyamath Shaik <[email protected]> * Add a new file that compares the Serverless Workflow to other popular DSLs Signed-off-by: Charles d'Avernas <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> * Fix a the `catalog` link in the `use` section table (#1088) Signed-off-by: Charles d'Avernas <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> --------- Signed-off-by: Ricardo Zanini <[email protected]> Signed-off-by: Nyamath Shaik <[email protected]> Signed-off-by: Alexandru Georoceanu <[email protected]> Signed-off-by: Gilles Barbier <[email protected]> Signed-off-by: Michal Broz <[email protected]> Signed-off-by: Charles d'Avernas <[email protected]> Co-authored-by: Ricardo Zanini <[email protected]> Co-authored-by: Alexandru Georoceanu <[email protected]> Co-authored-by: Gilles Barbier <[email protected]> Co-authored-by: mbroz2 <[email protected]> Co-authored-by: Charles d'Avernas <[email protected]>
fjtirado
added a commit
to serverlessworkflow/sdk-java
that referenced
this issue
Apr 29, 2025
Include these schema changes (not backward compatible) - serverlessworkflow/specification#1087 - serverlessworkflow/specification#1076 - serverlessworkflow/specification#1079
fjtirado
added a commit
to serverlessworkflow/sdk-java
that referenced
this issue
Apr 29, 2025
Include these schema changes (not backward compatible) - serverlessworkflow/specification#1087 - serverlessworkflow/specification#1076 - serverlessworkflow/specification#1079 Signed-off-by: fjtirado <[email protected]>
ricardozanini
pushed a commit
to serverlessworkflow/sdk-java
that referenced
this issue
Apr 29, 2025
Include these schema changes (not backward compatible) - serverlessworkflow/specification#1087 - serverlessworkflow/specification#1076 - serverlessworkflow/specification#1079 Signed-off-by: fjtirado <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: spec
Changes in the Specification
change: fix
Something isn't working. Impacts in a minor version change.
type: bug
I tried this:
The current
title
anddetail
in theError
definition are strings. Still, they should be runtime expressions so users can manipulate the error structure when raising an error, for example.This happened:
The schema is not enforcing what we have in examples:
https://github.com/serverlessworkflow/specification/blob/v1.0.0/examples/raise-inline.yaml
I expected this:
No response
Is there a workaround?
No response
Anything else?
See reference:
https://github.com/serverlessworkflow/specification/blob/v1.0.0/schema/workflow.yaml#L1190-L1197
Area(s)
Schema
Community Notes
The text was updated successfully, but these errors were encountered: