You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Wrapper for handling AWS AppSync resolvers with AWS Lambda in Go. See [appsync-router-example] for an example project and how to set up a complete GraphQL API using the [Serverless Application Model].
10
+
> Wrapper for handling AWS AppSync resolvers with AWS Lambda in Go. See [appsync-resolvers-example] for an example project and how to set up a complete GraphQL API using the [Serverless Application Model].
11
11
12
12
## Usage
13
13
14
14
### Installation
15
15
16
16
```
17
-
$ > go get github.com/sbstjn/appsync-router
17
+
$ > go get github.com/sbstjn/appsync-resolvers
18
18
```
19
19
20
20
### Routing
21
21
22
22
```go
23
23
import (
24
-
"github.com/sbstjn/appsync-router"
24
+
"github.com/sbstjn/appsync-resolvers"
25
25
)
26
26
27
27
funcresolverA() (interface{}, error) {
@@ -35,7 +35,7 @@ func resolverB(args struct {
35
35
}
36
36
37
37
var (
38
-
r = router.New()
38
+
r = resolvers.New()
39
39
)
40
40
41
41
funcinit() {
@@ -84,7 +84,7 @@ Resolver lookup is based on a `field` property in your `RequestMappingTemplate`,
See [appsync-router-example] for an example project and how to set up a serverless GraphQL API with AWS AppSync using the [Serverless Application Model].
87
+
See [appsync-resolvers-example] for an example project and how to set up a serverless GraphQL API with AWS AppSync using the [Serverless Application Model].
88
88
89
89
## License
90
90
@@ -96,6 +96,6 @@ You are welcome to contribute to this project! 😘
96
96
97
97
To make sure you have a pleasant experience, please read the [code of conduct](CODE_OF_CONDUCT.md). It outlines core values and beliefs and will make working together a happier experience.
0 commit comments