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

Docs update function develop #1262

Merged
merged 10 commits into from
Aug 24, 2024
Merged

Docs update function develop #1262

merged 10 commits into from
Aug 24, 2024

Conversation

choir241
Copy link
Contributor

@choir241 choir241 commented Aug 22, 2024

What does this PR do?

  • Separate bodyText and bodyJson in codesnippets
  • We should also remove mention of bodyRaw
  • Add binary examples that return image from function
  • Logging section
    • add how in most of the languages, we support spread operator
    • add relevant code samples ie log("Name", nickname, "Age", age)/error("error", error, "message", message )
  • Add variables to accessing environment variables table
    • APPWRITE_FUNCTION_API_ENDPOINT
    • APPWRITE_VERSION APPWRITE_REGION
    • APPWRITE_FUNCTION_API_KEY
  • Add Go under dependencies
  • Fix [] wrapped placeholder variables
  • Using with JWT
    • update copy for when there is no JWT token available
  • Add Go to code structure
  • Add Go code samples

Test Plan

Manually test code snippets and code structure

Related PRs and Issues

X

Have you read the Contributing Guidelines on issues?

Yes

…dyRaw. Add function api endpoint, version, region, and api key to environment variable table
choir241 and others added 3 commits August 22, 2024 13:23
…pdate log/error with spread example. Add go code log code sample. add go to dependencies. Fix placholder variables <> consistency.
@choir241 choir241 requested a review from loks0n August 23, 2024 13:35
@choir241 choir241 merged commit bec474e into main Aug 24, 2024
1 check passed
@choir241 choir241 deleted the docs-update-function-develop branch August 30, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants