Skip to content

Conversation

@knobby-tires
Copy link
Contributor

Description

Implements the updateMember mutation to allow updating member information as requested in #114.

Problem

"Currently a mutation exists to insert a new member but nothing exists to update the data of a specific member."

Solution

  • Added UpdateMemberInput struct with optional fields for partial updates
  • Added updateMember mutation using COALESCE for null-safe updates

Testing

Tested locally with GraphQL playground:

  • Created a test member
  • Updated individual fields (name, email, year)
  • Verified unmodified fields remain unchanged

Closes #114

@hrideshmg
Copy link
Member

Looks good to me, thank you for your contribution!

@hrideshmg hrideshmg merged commit f6f3b7c into amfoss:develop Jun 1, 2025
2 checks passed
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.

Implement mutations for updating member information

2 participants