-
-
Notifications
You must be signed in to change notification settings - Fork 36
feat: Lucia adder #30
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
Conversation
commit: |
I know we had such a discussion in the past, but i dont find it. We were using |
@manuel3108 @benmccann This is pretty much ready for review now. I have some concerns around the demo, such as the approach of creating it in a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disclaimer 😄 : I have never used lucia before or fiddled with the handle hook so i cannot say anything besides how it works.
Overall the code looks perfect and the adder and demo work without any problems. I really think having a demo with this adder will really help to get an quick and easy setup.
The only think i noticed is that comments get deleted inside app.d.ts
:
Edit: Reading is key, this can be ignored.
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Looks like everything is done here, merging. |
originally from svelte-add/svelte-add#543
user
andsession
tablesapp.d.ts
modificationscontent
processinghooks.server.ts
/demo
/demo/login
) which mirrors the Named Actions examples in the SvelteKit docs, and a logout actionlucia
todrizzle
, such that whenlucia
is selected,drizzle
also gets selecteddb:push
forbetter-sqlite3
is throwing an error. might be a bug in the newest drizzle-kit/orm version?drizzle-kit@0.22.8
, so we've reverted to that for now: [BUG]: drizzle-kit push TypeError: This statement does not return data. Use run() instead drizzle-team/drizzle-orm#2766also closes #43