aws / aws/aws-appsync-community

[JS] utils package is missing response types

Open
#314 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
HTML
Stars
507
Forks
37
PR merge metrics
No merged PRs in 30d

Description

For example, there is a type for `HTTPRequest` but not one for `HTTPResponse`. It's easy enough to type yourself, but it was hard to find in the [docs](https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-http-resolvers.html) what the actual structure of the response object is.

Contributor guide

Open the contributing guide

Research direction

Start in the utils package by locating the existing HTTPRequest type, then compare it with the HTTP resolver response structure in the linked AWS AppSync documentation. Add the corresponding HTTPResponse type and verify that consumers can use it instead of declaring the response shape themselves.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.