Skip to content

Breaking Change: SuccessEvent to SuccessMessage Transition #6

Closed

Description

@RenanCarlosPereira

Hey @asulwer,

I noticed a breaking change in your branch related to the transition from SuccessEvent to SuccessMessage. This change affects the following file:

Action Required

  1. Update the CHANGELOG:

    • Document the transition from SuccessEvent to SuccessMessage. (I am not sure why we are making this change, so please provide a brief explanation if possible.)
  2. Update Documentation:

    • The following documentation files need to be updated to reflect this change:
      • Getting-Started.md
      • index.md
    • Additionally, ensure that any .json files within RulesEngine\RulesEngine.UnitTest that reference SuccessEvent are updated accordingly.

Next Steps

We need to decide whether to:

  • Revert the change to maintain backward compatibility.
  • Proceed with the change and update the changelog and documentation accordingly.

Your input and any additional context on why this change is being made would be greatly appreciated.

Activity

  1. asulwer commented on Jun 28, 2024

    @asulwer
    Owner

    I made the change to align with ErrorMessage. In my mind a lot of code seems to have been cobbled together with no real direction, naming methods especially. i brought up these issues years ago with a PR and nothing came of it. i will open a PR to change the places you have mentioned. the documentation is an entirely different beast. this project, in my opinion, has always suffered from poor documentation. we need to properly document all features, that was my next plan.

  2. asulwer commented on Jun 28, 2024

    @asulwer
    Owner

    i altered the changelog to include this issue for reference as to why it was changed. ErrorMessage is a message and so is SuccessMessage which is why i changed from SuccessEvent to SuccessMessage

  3. asulwer commented on Jun 28, 2024

    @asulwer
    Owner

    i am keeping this issue open just in case you have objections to my changes

  4. asulwer commented on Jun 29, 2024

    @asulwer
    Owner

    this became an issue, again, after latest merge

  5. RenanCarlosPereira commented on Jun 29, 2024

    @RenanCarlosPereira
    CollaboratorAuthor

    Yeah, we will keep the way it is for now, we dont want to introduce breaking changes so early in the lib, the idea is wait for the people to migrate over, when everybody is confident on this repo we will be proposing changes that might have breaking changes 😇

  6. asulwer commented on Jun 29, 2024

    @asulwer
    Owner

    makes sense. i understand this now. i was just so excited to be able to make changes and have this moving along again.

  7. abbasc52 commented on Jul 1, 2024

    @abbasc52

    successMessage was an old field ( before output expression actions were introduced) .In a way I am not sure if it is used by community.

  8. RenanCarlosPereira commented on Jul 1, 2024

    @RenanCarlosPereira
    CollaboratorAuthor

    Yeah thanks for your input @abbasc52

    We will mark that as an obsolete and explain what to use instead, for example output expressions.

    I don't think we need a new field for this propose, as you mentioned we have that output expression to cover that functionality 🙂

    Marking as obsolete will give the community time to think about it

  9. asulwer commented on Jul 4, 2024

    @asulwer
    Owner

    removing the field is preferrable to renaming it? personally, at first, i used the field, but as @abbasc52 alluded to, actions are my preferred way to go

  10. Repository owner locked and limited conversation to collaborators on Jul 31, 2024
  11. converted this issue into a discussion #62 on Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions