Skip to content
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

feature: WEOS-1382 Auto generate id #141

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

akeemphilbert
Copy link
Contributor

  • Added Init method to be used when adding a new entity to the system

  • Added a Create method on the entity factory for adding a new entity to the system

  • Added a constant for the create event

  • Updated create receiver so that the generate id happens in the entity and the event is added in the entity

  • Added code to receiver to add a WEOS ID to context IF one is specified on the create command (this was an attempt to maintain compability with existing code)

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

* Added Init method to be used when adding a new entity to the system
* Added a Create method on the entity factory for adding a new entity to the system
* Added a constant for the create event
* Updated create receiver so that the generate id happens in the entity and the event is added in the entity
* Added code to receiver to add a WEOS ID to context IF one is specified on the create command (this was an attempt to maintain compability with existing code)
@shaniah868 shaniah868 merged commit 70c846c into feature/WEOS-1382 Mar 14, 2022
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.

2 participants