aws-amplify / aws-amplify/amplify-cli
Is it possible to reuse vtl code to extend multiple resolvers *in the same way* ?
Open
feature-request
p4
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
Is it possible to reuse common logic to extend the generated resolvers? As far as I can tell, you need the logic for each resolver in separate files, but I'd like to reuse the same logic (in the same slot) across multiple queries and I'd rather not have to maintain the same code across multiple files in my project,
**Which Category is your question related to?**
API
**Amplify CLI Version**
You can use `amplify -v` to check the amplify cli version on your system
7.6.5
**What AWS Services are you utilizing?**
Contributor guide
Assessment
This issue has not been assessed yet.