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

Implement ToQueryString() #999

Closed
lauxjpn opened this issue Dec 23, 2019 · 5 comments · Fixed by #1238
Closed

Implement ToQueryString() #999

lauxjpn opened this issue Dec 23, 2019 · 5 comments · Fixed by #1238

Comments

@lauxjpn
Copy link
Collaborator

lauxjpn commented Dec 23, 2019

See dotnet/efcore#19368 (comment) for further details.

@neonVoice
Copy link
Contributor

@lauxjpn do you think, its possible for me to implement this based on pull request you provided? I'd like to try. If yes - is it better to make a new branch from main and assign pull request to this issue somehow ? Not quite sure how to start working on another issue, if all pushes to my fork are associated with another issue already.

@neonVoice
Copy link
Contributor

From what i understood, EF.Relational changes are not yet incorporated in Pomelo repository, so its currently not possible to implement MySqlServerQueryStringFactory ? Or this factories/interfaces should be placed somewhere else?

@lauxjpn
Copy link
Collaborator Author

lauxjpn commented Apr 10, 2020

I haven't taken a look at the implementation details of this yet, but it is EF Core 5 related. So it is likely that other changes need to be incorporated as well, to implement this method. I opened this issue, so I don't forget about it.

I can't give you a comprehensive tutorial about how to work with git and GitHub here, but there are many tutorials out there.

Concretely in this case, you would create a local branch to work on the issue (and not work directly on the master branch as you did previously). Then you push your branch to your fork and create a PR when you are done. Since this issue is EF Core 5 related, it needs to be merged with the 5.0-wip branch instead of master.

If you want to implement it, go ahead. But we haven't really done any work regarding EF Core 5 yet, so there might be some overhead attached to getting the projects and dependencies up and running.

@neonVoice
Copy link
Contributor

neonVoice commented Apr 10, 2020

@lauxjpn yeah, thanks, i've spent some time reading and watching some basic stuff, those questions are now completely irrelevant (forgot to remove). Anyway, i read through dotnet/efcore@c68dd2f and there are some changes that should be incorporated first, for example IRelationalQueryStringFactory. To be more precise, every change that lies in EF.Relational folder which is not present in Pomelo repository even though Microsoft.EntityFrameworkCore.Query.Internal namespace is used there.

@lauxjpn
Copy link
Collaborator Author

lauxjpn commented Apr 10, 2020

I see. I have planed to get the provider on par with the current development state of EF Core in May. There are still more pressing matters for our 3.2.0 releases though, which will consume my attention before that.

May is probably a good time to start doing the work on this, because its about half a year away from the .NET 5 GA release, so major features will be relatively stable and we can provide valuable feedback to the EF Core team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants