Merged
Conversation
The code changes in the `auth.action.ts` file add the ability to delete an identity. This is achieved by adding the `deleteIdentityAction`, `deleteIdentitySuccessAction`, and `deleteIdentityFailureAction` actions. This feature enhances the user management capabilities and improves the overall user experience.
This commit adds a new method called deleteIdentity to the AuthService class in auth.service.ts. The deleteIdentity method takes an instance of the Models.Identity class as a parameter and returns an Observable<any>. It calls the deleteIdentity method of the api.account object and passes the $id property of the identity object as an argument. This change enhances the user management capabilities by allowing the deletion of identities.
This commit adds the deleteIdentityAction, deleteIdentitySuccessAction, and deleteIdentityFailureAction actions to the auth.action.ts file. It also includes the deleteIdentityAction reducer in the auth.reducer.ts file. These changes enhance the user management capabilities by allowing the deletion of identities.
This commit adds the deleteIdentityAction to the auth.action.ts file and the deleteIdentity method to the AuthService class in auth.service.ts. These changes enhance the user management capabilities by allowing the deletion of identities.
The code changes in the `auth.effect.ts` file improve the delete identity functionality by updating the `deleteIdentityAction` to include the `request` payload. This change ensures that the correct identity is deleted when the action is dispatched.
The code changes in the `auth.reducer.ts` file remove unnecessary code that was causing issues with deleting identities. This change enhances the delete identity functionality by ensuring that the correct identity is deleted when the action is dispatched.
Add Delete Identity Functionality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.