-
Notifications
You must be signed in to change notification settings - Fork 161
Support for ASP.NET Core 3.0 ? #276
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
Comments
I am sure that this is inevitable. The migration process should not be difficult. Maybe a little later. Most likely, another target will appear in the package, there will be no separate package. |
I'm trying to update, but the issue I'm currently having is that |
I might be able to give the multi-targeting issue a go today, since it's blocking me. |
Hi benmccallum, I also did try, and fixed the AddAuthorizationCore (by editing the source directly), but then I run also on conflict in the GraphQL code, so I gave up for the moment, and will try later. I let you know if I manage to get this working, but as I'm on tight deadline for the project, it will be not before 10 of November in think. Edgar |
Do you have a branch you could push for this repo? You had an issue with the main GraphQL package too? Hmm... what I'm unsure about is whether we can keep Microsoft.Extensions.Xyz 2.x versions, or they need to be upgraded to 3.0.0, which probably requires netcoreapp3.0, and then it's a big issue. |
Multitargeting with Conditional csproj switches all the way... |
And by all the way you mean in this repo and graphql? Hmm, I can give it a go I suppose :) |
I think the biggest pain point is that some of upgraded to 2.2 but its only 2.1 that is LTS, so we're like... up sh*t creek unless we wanna back down to 2.1 which is just nasty. |
@sungam3r , I'm going to create a branch for this project support 3.0.0, should I do it off develop or master? Edit: Nevermind, looks like develop given the commit history. |
netstandard2.0 and netstandard2.1 in graphql-dotnet |
Sorry, I did not immediately realize that the original question was posed incorrectly. In fact, all packages are targeted at
No, these problems do not exist, since the code does not use a specific platform. |
Moreover, since But it should be noted that some docking parts may need to be changed, since the interfaces of ASP.NET Core 3.0 itself have been changed. |
@EdgarMaucourant @benmccallum I changed the issue title to fit the essence of the problem. |
I wish it was that simple. I think the problem is that if you rely on any of the packages listed here that are now consolidated in to the ASP.NET Core shared framework, your libraries need to use So for us:
So in my mind 1, 2 and 5 need multi-targeting to For 3 and 4 though, I'm not sure. |
Well, you just need to start this path. And then we will see how the dependencies are laid out. Essentially, we have a current workable dependency configuration. We are adding a second. If in some place you need to change part of the api of one of the server packages to embed it smoothly in ASP.NET Core 3.0, then this can be done using preprocessor directives. This is standard practice as an alternative to completely copying code to separate files like GraphQLMiddleware2.0.cs and GraphQLMiddleware3.0.cs. |
Yep, almost there, just checking everything builds and will try running it up soon. Fingers crossed I've got it right. In any case, it seems like netstandard is dead moving fwd as netcoreapp5.0 will just be everything I guess shrugs. basically I'm saying even though it feels weird adding this to some libraries, it'd be the default moving forward. |
Why? It is just a set of common apis. ASP.NET Core is not a set of apis, it is a framework. If some |
Because https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support |
|
If I want to do some non-production work and use the asp.net core 3.0, what's the best plan? That is, what sample project should I use that lets me create a graphql server from entity framework data. I see there is a "develop" branch on the server project but it's not obvious if I should us that sample, or one from this repo (graphql-dotnet) but there is no "develop" branch here. |
Default branch in that repo (develop) has a fully functional graphql ASP.NET Core 3.0 server. You can modify it while studying ASP.NET Core 3.0. |
Hello,
|
The package was already ready - https://github.com/graphql-dotnet/server/blob/develop/nuget.config |
@benmccallum maybe it's time to close this issue? |
Yea that method rename issue was definitely addressed in my PR and is now in develop and being released in the alpha packages, @sungam3r. Feel free to close and direct them to a version and feed that's got it in there. |
@yass98 You can use the latest preview version from aforementioned myget feed. |
Hi Guys,
Is there a plan to support Dotnet core 3.0 ?
As Microsoft is terminating the support of .net core 2.2 in December we are a bit in a hurry to migrate our applications to .netcore 3.0.
Best regards
Edgar
The text was updated successfully, but these errors were encountered: