-
Notifications
You must be signed in to change notification settings - Fork 180
Add Flutter SDK avatars and storage service methods to build URLs #495
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
b109bf7
to
5d14088
Compare
@lohanidamodar, you can focus on this commit for the main change to expose the URLs. |
5d14088
to
7d5f897
Compare
can't open this link ? |
{% macro method_parameters(parameters, consumes) %} | ||
{% if parameters|length > 0 %}{{ '{' }}{% for parameter in parameters %}{{ _self.parameter(parameter) }}{% if not loop.last %}, {% endif %}{% endfor %}{% if 'multipart/form-data' in consumes %}, Function(UploadProgress)? onProgress{% endif %}{{ '}' }}{% endif %} | ||
{% endmacro %} | ||
{% import 'flutter/base/utils.twig' as utils %} |
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.
we did not export this to utils, as this macro is used only in this file
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.
Right, but since I needed this in templates/flutter/base/requests/location.twig
, I thought it would be better to move it to utils.
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.
The changes look good, however, if we do this, we need to do this for all SDKs, not only Flutter. Let's create a new branch, and get this one merged and then work on rest of the SDKs.
Merge this into master now? Or were you thinking of doing all the SDKs in 1 branch before merging into master? |
@lohanidamodar did you see my last comment? |
@stnguyen90 keeping this separate until it's done in all the SDKs only then merging to master. Make sure to keep this branch synced to master timely and keep working off of this branch. |
See appwrite/sdk-for-flutter#71