(Translated by https://www.hiragana.jp/)
Gen2: Documentation / Connect Http Datasource is not correct (tsx) · Issue #7922 · aws-amplify/docs · GitHub
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

Gen2: Documentation / Connect Http Datasource is not correct (tsx) #7922

Open
2 of 14 tasks
fvisticot opened this issue Aug 28, 2024 · 2 comments
Open
2 of 14 tasks

Gen2: Documentation / Connect Http Datasource is not correct (tsx) #7922

fvisticot opened this issue Aug 28, 2024 · 2 comments
Labels
amplify/android amplify/flutter amplify/ios Mostly related to iOS software. transferred This issue was transferred from another Amplify project

Comments

@fvisticot
Copy link

Description

The sample code is not Flutter code
https://docs.amplify.aws/flutter/build-a-backend/data/custom-business-logic/connect-http-datasource/

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

Go to the documentation web site: https://docs.amplify.aws/flutter/build-a-backend/data/custom-business-logic/connect-http-datasource/

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.24.0

Amplify Flutter Version

2.4.0

Deployment Method

Amplify Gen 2

Schema

No response

@Jordan-Nelson
Copy link
Member

@fvisticot Thanks for bringing this to our attention.

The code snippets in sections 1-4 are expected to be TS as they are for the Gen 2 backend definition, which only supports TS. Section 5 however is client side code and should be Dart/Flutter code.

I am going to transfer this issue to our docs repo.

@Jordan-Nelson Jordan-Nelson transferred this issue from aws-amplify/amplify-flutter Aug 28, 2024
@Jordan-Nelson Jordan-Nelson added the transferred This issue was transferred from another Amplify project label Aug 28, 2024
@Jordan-Nelson
Copy link
Member

It appears that the same issue exists for iOS and Android as well. TS code is showing for all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amplify/android amplify/flutter amplify/ios Mostly related to iOS software. transferred This issue was transferred from another Amplify project
Projects
None yet
Development

No branches or pull requests

2 participants