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

Support for REST API in Gen 2 applications #3895

Open
nrcrews opened this issue Oct 9, 2024 · 3 comments
Open

Support for REST API in Gen 2 applications #3895

nrcrews opened this issue Oct 9, 2024 · 3 comments
Labels
feature-request Request a new feature

Comments

@nrcrews
Copy link

nrcrews commented Oct 9, 2024

Is your feature request related to a problem? Please describe.

It seems as though support was dropped for REST APIs in the new Gen2 backends when working with mobile apps. When using amplify_outputs.json to configure my application, I get misconfigurations and crashes (I know the format is correct because it works for my Next.js app).

Describe the solution you'd like

Please add support for REST APIs like you have for other platforms like web.

Example: Next.js support

Describe alternatives you've considered

I am considering building my own support for this by building a custom dispatching layer. However, this is keeping me from migrating to Gen 2 and pushing me to move away from Amplify all together.

Is the feature request related to any of the existing Amplify categories?

API

Additional context

No response

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify team member labels Oct 9, 2024
@thisisabhash thisisabhash added the feature-request Request a new feature label Oct 9, 2024
Copy link
Contributor

github-actions bot commented Oct 9, 2024

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

@thisisabhash thisisabhash removed pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify team member labels Oct 9, 2024
@thisisabhash
Copy link
Member

Thank you for submitting the feature request - our team will post updates here.

@thisisabhash
Copy link
Member

Hello,
If you are using Gen 1, you may still continue to use it for REST API use cases.

For Gen2, you can still deploy your APIGateway backend following steps here: https://docs.amplify.aws/javascript/build-a-backend/add-aws-services/rest-api/set-up-rest-api/
However, native client libraries currently don't support it. You may use https://github.com/awslabs/aws-sdk-swift directly for REST API use cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants