Skip to content
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

Global Register types conflicting with each other #1644

Open
Kareem-Medhat opened this issue Jul 22, 2024 · 1 comment
Open

Global Register types conflicting with each other #1644

Kareem-Medhat opened this issue Jul 22, 2024 · 1 comment

Comments

@Kareem-Medhat
Copy link

When creating two Lucia instances, each with different session and user tables, you face the issue of the two Register types conflicting with each other. I don't see the reason for using these global types instead of type generics. Let me know if I'm missing something and if not then I'm willing to create a PR with the required changes.

@pilcrowonpaper
Copy link
Member

Regardless of the feasibility, it would likely be a breaking change. This issue will be fixed if we go with #1639 anyway

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

No branches or pull requests

2 participants