aws-amplify / aws-amplify/docs

VTL example using variables that are not defined in the code snippet

Open
#5,314 1 comment 0 reactions 1 assignee Claimed by @AnilMaktala View on GitHub
amplify/data p2
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Page**: [`/cli/graphql/examples-and-solutions`](https://docs.amplify.aws/cli/graphql/examples-and-solutions/#17-get-sales-representatives-ranked-by-order-total-and-sales-period)

**Feedback**:

CDK snippet is missing the variables referenced in the VTL snippet

image

```ts
const apiIdRef = cdk.Fn.Ref(retVal.api[''].GraphQLAPIIdOutput)
const envRef = cdk.Fn.Ref('env')
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.