♻️ refactor(auth): move UserContextKey from pkg/greet to pkg/auth #90

Merged
arcodange merged 1 commits from vibe/batch-pr-d1-move-user-context-key into main 2026-05-06 06:54:37 +02:00
Owner

Move the auth context key and helper from pkg/greet/ to pkg/auth/ where it belongs. The pkg/auth/ package was created by PR #69. The middleware in pkg/server/middleware.go currently imports pkg/greet just to get greet.UserContextKey, which is an inverted dependency.

This refactor has NO behavioral change.

Move the auth context key and helper from pkg/greet/ to pkg/auth/ where it belongs. The pkg/auth/ package was created by PR #69. The middleware in pkg/server/middleware.go currently imports pkg/greet just to get greet.UserContextKey, which is an inverted dependency. This refactor has NO behavioral change.
arcodange added 1 commit 2026-05-06 06:54:33 +02:00
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
arcodange merged commit e5a1979b1f into main 2026-05-06 06:54:37 +02:00
arcodange deleted branch vibe/batch-pr-d1-move-user-context-key 2026-05-06 06:54:37 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arcodange/dance-lessons-coach#90