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
Refactoring and Clean Code of the DataFlow API #72
Conversation
the code sells sound to me like it is not clearly defined, what is nullable or not |
[API] Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good refactoring. Please have a look at the two comments.
/// Sets a DataFlow entry according to the given EntityState. | ||
/// For example if EntityState.Modified is used, the existing DataFlow entry will be overwritten by the new DataFlow. | ||
/// </summary> | ||
/// <param name="dataFlow">The new DataFlow.</param> | ||
/// <param name="entityState">Defines the action of the new DataFlow entry.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite clear what you mean here - is a new data flow created in any case? Otherwise the expression "The new DataFlow" would not be precise.
/// <summary> | ||
/// Saves all changes made in this context to the database. | ||
/// </summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which context?
@nikipuk will you do the necessary changes in the editor? |
The method summaries are also shown on Swagger.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the Migrations have to stay in the project?
I did |
[Executor] Kudos, SonarCloud Quality Gate passed! |
[API] Kudos, SonarCloud Quality Gate passed! |
[Editor] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Content of this PR
Related Issues
No related issues.
Definition of Done
Definition of more than Done (optional)