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

Re-sync entities on connection in TypeORM if changed in development mode #488

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

deep-c
Copy link
Contributor

@deep-c deep-c commented Jul 27, 2020

Closes #467

@vercel
Copy link

vercel bot commented Jul 27, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextauthjs/next-auth/n4xp8jm8o
✅ Preview: https://next-auth-git-fork-deep-c-development-hmr.nextauthjs.vercel.app

@vercel vercel bot temporarily deployed to Preview July 27, 2020 14:34 Inactive
@iaincollins
Copy link
Member

iaincollins commented Jul 27, 2020

Oh wow this is a lot smaller than I thought it would be! 😂

Thank you! I'll try and take a short break for a day or two but looking forward to trying it out!

Thanks for raising the PR!

@iaincollins iaincollins added the enhancement New feature or request label Jul 30, 2020
@iaincollins
Copy link
Member

Thanks for this! Going to do some integration testing to try it out in practice before release, but seems good to go!

@iaincollins iaincollins merged commit ab6ef8a into nextauthjs:main Jul 30, 2020
@iaincollins iaincollins changed the title re-sync entities on connection if changed in development Re-sync entities on connection if changed in development Jul 31, 2020
@iaincollins iaincollins changed the title Re-sync entities on connection if changed in development Re-sync entities on connection in TypeORM if changed in development mode Jul 31, 2020
@deep-c deep-c deleted the development-hmr branch August 2, 2020 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RepositoryNotFoundError: v3 related to HMR
2 participants