-
Notifications
You must be signed in to change notification settings - Fork 156
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
Go templates update #353
Go templates update #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really promising. Just few concerns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work so far 😁
Hi @christyjacob4! I did react to all suggestions. Is there anything else, I can do? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more small changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more small request.
Also can you generate and push the generated go sdk in your own separate repository and provide a link want to look at the final code.
@lohanidamodar I did update the go-sdk repo with the latest generate code. |
@phaus Saw the generated code, looks awesome. I have a question |
At the moment a client call returns a map with all elements as key => vallues. |
@phaus I don't remember that we have a swagger UI, however, if you look at our existing SDKs (Dart, Android, Kotlin, Apple, Swiift, all of these have response model implemented). The details of definitions can be found in our spec as well under |
Also, I would love you to sync this PR with latest master, we have restructured testing to make it more effective, let us know if there's any confusion. |
@lohanidamodar I did a rebase to the current upstream master branch. I will have a look into response struct the next days. |
a4b8831
to
a246a97
Compare
TBH I have actually no idea why the Flutter Test is failing right now |
@phaus Why do you need gitusername to be appwrite, you are not actually pulling from github for test right, you are using the local instance. In the testfile can you can make |
Don't worry about the Flutter test, that has nothing to do with what you did. Fix for that is already pending in my PR #372 |
a80308f
to
a510cb9
Compare
I did the rebase, updated my test to the new setup. |
deactivate the failing test case. Is there anything else, that is missing in this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few more things to take care of before we can proceed. We want to get this right. Let us know if you need any help with chunked and resume-able upload
return false | ||
} | ||
|
||
func (clt *Client) newfileUploadRequest(uri string, params map[string]interface{}, paramName string) (*http.Request, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, we need a chunked and resume-able upload support here (check dart/web sdk where we have it already implemented)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is then something I have to implement later on.
Due to time constraints I won't be able to do that right now.
Should I disable the API then for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@phaus no we don't need to disable the API, if it's okay with you, we can proceed with getting this merged and add the chunked upload/resumable upload later by our team or you if you get time. If that's good and some other team member review it, we can proceed forward. We are really happy with the work you have put in and the patience you had with us. Just a little more and we can get this merged 🙏🏻
@phaus I resolved the conflict, and re-enabled the disabled test. If everything goes well, we will get this merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! Thanks for all your hard work 🚀
Follow PR of #287