You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After refactoring from one static method to full-blown system using Startup.cs and Dependency Injection (#2), it is not so easy anymore to see if the functionality is still idempotent.
an idempotent operation is one that has no additional effect if it is called more than once with the same input parameters.
Go through the solution and make sure calling PostComment is idempotent.
See if it is possible to add a neat test to keep it idempotent.
The text was updated successfully, but these errors were encountered:
After refactoring from one static method to full-blown system using Startup.cs and Dependency Injection (#2), it is not so easy anymore to see if the functionality is still idempotent.
Go through the solution and make sure calling
PostComment
is idempotent.See if it is possible to add a neat test to keep it idempotent.
The text was updated successfully, but these errors were encountered: