# Update Own Profile

## User Story

As a user, I want to update my personal information, so that my profile stays accurate.

## Story Diagram

```mermaid
flowchart TD
    A[Open Profile Page] --> B[Click Edit]
    B --> C[Update fields]
    C --> D[Submit]
    D --> E{Validation}
    E -- Invalid input --> F[Show validation error]
    E -- Valid --> G[Profile updated]
```

## Scenario Patterns

- Update name or email with valid values
- Submission with invalid values is blocked by validation

## Test Cases

- Edit the name field with a new valid value and submit; verify the profile page reflects the updated name
- Clear a required field and submit; verify a validation error is shown and the profile is not updated

## Screens

- [my-profile](../../../screen/my-profile.md)
- [my-profile-edit-form](../../../screen/my-profile-edit-form.md)

## Resolvers

- [updateOwnProfile](../../../resolver/updateOwnProfile.md)
