Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8850

[Community tracker] - Add kubebuilder validations to the model structs

XMLWordPrintable

      Issue to track upstream community work: https://github.com/serverlessworkflow/sdk-go/issues/157

      What would you like to be added:
      Only object is allowed at this time:

            defaultCondition:
              transition:
                nextState: GreetInEnglish
      

      Having it just as a string can be allowed as well:

      defaultCondition: GreetInEnglish
      

      This change fixes this issue:

       * spec.validation.openAPIV3Schema.properties[status].properties[applied].properties[states].items.properties[actions].allOf[1].items.properties[retryRef].type: Forbidden: must be empty to be structural
      

            rhn-support-fspolti Filippe Spolti
            rhn-support-fspolti Filippe Spolti
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: