-
Notifications
You must be signed in to change notification settings - Fork 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
Fork and refactoring #201
Comments
Hi @apawsey , thank you for taking the time to write this issue. I had a look at the changes you created in your fork. It would be great if you can open a separate issue for each major changes so that we can discuss about them more specifically. I also think it would be more efficient if we want to get them into the main repo. There are a few points I noted right away from the changes:
A few issues back, we took the decision to use the "Query" suffix for all models carrying query parameters. We wanted to make the distinction between options used inside a post model from the parameters used in a query string. #28
There is an open issue that I think match what you did there: #64
Are you referring to the
I think it's a good thing to have. Maybe you can open a separate issue so that we can get this in faster? In overall, we tried to stay as close as possible to the ArangoDB HTTP API. This drived some of the design decisions we made. It's interesting to see new needs appearing, as the library gets used in different contexts. |
Hi @DiscoPYF, Yeah unfortunately as I started making changes (as I was trying to get the EF core provider working in parallel), it got harder to keep them all discrete, and open issues (& pull requests) for each one, so again, my apologies that it all ended up as one big lump. I'll be honest as well that not all of the changes are "necessary" in the sense of the EF core work I was doing. A number of them just came from a personal viewpoint of organising the code - for example the api client methods having the same code repeated every few lines - repeated code is unfortunately a "trigger" :) for me. I worked on a project recently with thousands of lines of repeated code, and so as soon as I see that kind of thing, I start looking for another way. I can open issues for each of the changes if you think that would be best. My apologies in advance though as I'm going to spam your issues board a bit then. On that basis, I won't respond here to the points you raised, but rather I'll respond on the issues you already highlighted, and I'll create new ones for the other changes. Again, thanks for taking the time to engage on this. |
I've posted some issues, and I'll check through and see if I need to add any more to cover other changes. Thanks for your time and consideration on these points. |
Hi @apawsey , that's great, we will have a look at those. 👍 Thank you. |
Hi guys,
As mentioned over on the ArangoDB slack channel, we're busy building a EFCore database provider for Arango. We're making some good progress, but unfortunately I came across some issues with the architecture of this library that made it pretty difficult to do what we needed. Although I can see you are trying to open it up a bit with the various interfaces you added, I was still struggling to get to things I needed. As is unfortunately my usual behaviour, I started fiddling, and then I fiddled a lot more.
To be honest, I've fiddled so much, I'm not sure you'd be willing to take the changes as a pull request, not least because I deeply understand the personal feelings that come with someone messing with your code so much. I'm also well aware that my commit's are not at all organised!!! As I said, I didn't really start with the intention of making so many changes, so it all just ended up as one big lump essentially.
However, if you'd like you can have a look at my fork at : https://github.com/apawsey/arangodb-net-standard, and see what you think.
To give a quick recap of the changes:
There is quite a few documentation issues to be cleaned up thanks to renaming/addition of parameters, and there is definately a few issues I haven't cleaned up. In fact there are a number of things I still want to do. But all the tests are passing at the moment.
Apologies for taking such as heavy handed approach, but let me know your feedback. As I said if you don't want to take on the changes, I'm absolutely fine with that, but I'll need to keep the fork going for now for the EF project.
Regards.
The text was updated successfully, but these errors were encountered: