Skip to content

fix: validate group expiration in joinGroup mutation (#25)#26

Merged
takaokouji merged 1 commit intomainfrom
fix/issue-25-join-group-expiration
Dec 31, 2025
Merged

fix: validate group expiration in joinGroup mutation (#25)#26
takaokouji merged 1 commit intomainfrom
fix/issue-25-join-group-expiration

Conversation

@takaokouji
Copy link
Contributor

This PR converts joinGroup to a pipeline resolver using checkGroupExists to ensure that users cannot join expired groups.

Changes:

  • Moved joinGroup logic to a separate function.
  • Updated CDK stack to use pipeline resolver for joinGroup.
  • Added integration test to verify expiration validation.
  • Updated existing tests to match the new error response format (GroupNotFound).

- Convert joinGroup to a pipeline resolver using checkGroupExists.
- Move joinGroup logic to joinGroupFunction.js.
- Add integration test for expiresAt validation.
- Update existing tests to expect GroupNotFound error.
@takaokouji takaokouji merged commit 735ead6 into main Dec 31, 2025
3 checks passed
@takaokouji takaokouji deleted the fix/issue-25-join-group-expiration branch December 31, 2025 10:19
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.

1 participant