Replying to @sevydope
Hey! People have asked for this before, but so far there hasn't really been enough demand for it.
Anyone else interested in Mapping Tool as an API?
How would you expect it to work? What price/pricing model would be compelling to you?
Replying to @zaccharles
@zaccharles do you have any plans to take the VTL evaluation engine you use for mapping tool and open it up as an API (and charge for usage)?
Similar to what AppSync has done, but you'd cover API Gateway as well.
Mapping Tool retweeted
Love AppSync or API Gateway but hate VTL? You're not the only one!
Check out the Mapping Tool by @zaccharles and finally cure those VTL blues ;-)
mappingtool.dev/
Mapping Tool retweeted
Replying to @Grenguar
You should check out @mappingtool by @zaccharles, makes working with and debugging VTL much easier and works great for both AppSync and API Gateway
⚡️ Now supported:
- $util.transform.toDynamoDBFilterExpression()
- $util.transform.toDynamoDBConditionExpression()
🤥 The AWS docs (go.aws/3PDlPCN) say they return a Map, but they actually return a String.
😶 toDynamoDBConditionExpression exists but is undocumented.
Replying to @focusotter
That's strange 🤔
I've just turned them back on. Feel free to DM me.
Replying to @focusotter
Not yet, Michael. I'll bump it up the todo list for you, though 🙂
Mapping Tool retweeted
The @mappingtool app does help massively with debugging this though and the intellisense is super useful
AWS AppSync added new VTL utility methods: $util.autoKsuid, $util.log.info and $util.log.error.
Mapping Tool now supports $util.autoKsuid() 🚀
This utility generates a "KSUID (K-Sortable Unique Identifier) base62 encoded as a String with a length of 27".
$util.log coming soon!
Sometimes it's hard to see the red/yellow/blue squiggly lines.
To make things easier, Mapping Tool now colors the margin and line number too! 🟥🟨🟦
Check out this contrived example:
AWS AppSync just added two new HTTP utility methods:
$util.http.addResponseHeader(String, Object)
> Adds a single custom header to the response.
$util.http.addResponseHeaders(Map)
> Adds multiple response headers to the response.
Docs have been updated: docs.aws.amazon.com/appsync/…
One reason our emulation is so accurate is that we run the same VTL engine as AWS. Unfortunately that means Java, which can mean Lambda cold starts. 🥶
To keep things fun, if a cold start is detected, you can learn a phrase from one of 30 languages! 😀
Replying to @adamdotdev
"Why does this guy like VTL so much?!"
I assume its the Mapping Tool subscription 😉
Mapping Tool retweeted
Haahhaha agree! The syntax is weird and sometimes hard to debug and find errors. But @mappingtool can make the job easy! – at Recife, Brazil
Mapping Tool retweeted
I've been trying out @mappingtool by @zaccharles recently and it's definitely an upgrade on the VTL experience provided by the AppSync console.
If you're struggling with writing VTL templates (and you SHOULD prefer VTL over Lambda resolvers) then you should check it out.










