Skip to content

refactor: move AuthResult to Auth/Types.hs module #3901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

taimoorzaeem
Copy link
Collaborator

@taimoorzaeem taimoorzaeem commented Feb 4, 2025

The AuthResult type does not belong to AppState module. This commit refactors this by moving it to a new module Auth/Types.hs.

The dependency graph now looks something like

-- App.hs <-- Auth.hs <-- AppState.hs <-- Auth/Types.hs

The `AuthResult` type does not belong to AppState
module. This commit refactor this by moving it to
a new module `Auth/Types.hs`.
@steve-chavez steve-chavez merged commit 3f78615 into PostgREST:main Feb 4, 2025
22 checks passed
@taimoorzaeem taimoorzaeem deleted the refactor/auth branch February 5, 2025 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants