-
Notifications
You must be signed in to change notification settings - Fork 38
Attempt at updating to .Net 10 to fix crash with OpenAPI #414
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
|
I wanted to do the same @duckblaster. Thanks for tackling this. Every .NET Switch requires at least a couple of months of wait time until all libraries catch up :) |
|
Any chance we can get this merged? When Pomelo.EntityFrameworkCore.MySql catches up the only change will be to re-enable the tests using it. I have also expanded the OpenAPI output to include the entity schemas instead of just reporting object. |
|
Sorry - I've been moving, and only just got my PC working again. I'll be working on the dotnet 10 migration this weekend. There are a few things that need refactoring for dotnet 10 improvements, but I'll take a look at this PR during the weekend. |
|
I'm likely to merge this, but I am not releasing until Pomelo has updated (which is PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#2019 and PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#2017 PRs - they normally take a while to complete). |
|
This does not compile from clean: This is with a basic There are a lot of warnings that will be fixed by removing the System.Text.RegularExpressions from the tests/Directory.Build.props - this is a simple fix and worth it. Code looks good otherwise. I'm going to assume you have "moved on" and will merge your changes into my own changes and re-submit. If you are going to work on the fix, let me know and I will hold off. |
|
I beg you to publish a pre-release nuget at least! 😓 |
|
FWIW - using a library compiled from the 2017/2019 Pomelo PR results in a working platform, so as soon as they validate their changes, I'll be able to PR. I will NOT be releasing a PR until all libraries compile. Sorry - that's life as a library developer. Sometimes, you have to wait. You have all the code, so you can compile and integrate a working version using just your required libraries. |
The errors: I forgot to push the commit that fixed this. Your code looks cleaner and better documented than my quick hack anyway, so I'll close this PR. |
|
New PR: adrianhall#1 |
This breaks the tests using MySQL, as Pomelo.EntityFrameworkCore.MySql doesn't support EF Core 10, and has a few mysterious failures in the AzureSqlEntityTableRepository_Tests where the time is off slightly (rerunning the tests they passed on the second try).
Other than that, it seems to pass all tests.