question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Overwriting and customizing resolvers

See original GitHub issue

Is it possible to overwrite and/or customize resolvers similar to what Amplify CLI allows (https://docs.amplify.aws/cli/graphql-transformer/resolvers) using this project? I did notice the @mapped directive but is that for a slightly different use case? The documentation for that directive was a bit sparse so my understanding can well be a bit off here 🙂

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
huss-jaycommented, Jul 4, 2021

any updates on this? would love to to be able to overwrite or customize the resolvers that amplify CLI generates

0reactions
kcwinnercommented, Sep 18, 2021

Here is what I’ve done for overriding mapping templates. You can specify the request and/or response https://github.com/kcwinner/cdk-appsync-transformer/pull/285

I have one other piece I want to test and will merge it in tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API (GraphQL) - Overwrite & customize resolvers - Amplify Docs
Resolvers are the mechanism by which requests are fulfilled. Learn how to overwrite or add custom resolvers with Amplify. - AWS Amplify Docs....
Read more >
AWS Amplify / Appsync Custom resolvers | by Casper Bottelet
Custom resolvers are a function that will execute on a given query or mutation as soon as the response finished. A resolver should...
Read more >
Configuring resolvers (VTL) - AWS AppSync
Create a resolver by running the create-resolver command. You'll need to type in 6 parameters for this particular command: · To modify a...
Read more >
Possible to override default GraphQL @model resolvers with ...
I'm hoping to leverage a GraphQL model managed by Amplify / AppSync and build on that, using the DynamoDB table for storage but...
Read more >
Resolvers – GraphQL Tools
Resolvers are per field functions that are given a parent object, arguments, and the execution context, and are responsible for returning a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found