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
Give the example/ directory its own workspace file
This makes it more obvious how to bootstrap a new project with `rules_gqlgen`.
Also, clean up the README.md a bit and remove references to "GoLang".
Fixes#11
// ... srv implements http.Handler and can now be used, e.g. via http.ListenAndServe ...
71
71
```
72
72
73
73
## Playground
74
74
75
-
When you actually run the generated server, it runs on port 8080, and you can access the playground at
76
-
`http://localhost:8080/api/playground`.
75
+
When you run the example server, it runs on port 8080, and you can access the
76
+
playground at `http://localhost:8080/api/playground`. To test the example query
77
+
and mutation:
77
78
78
79
```graphql
79
80
# Query greetings
@@ -89,13 +90,3 @@ mutation {
89
90
updateName(req:{name:"Moxie"})
90
91
}
91
92
```
92
-
93
-
## Tweaking Configuration
94
-
95
-
Today, you cannot tweak the GQL configuration via a `gqlgen.yml` file (as you can via a vanilla `gqlgen` integration). If this is important to you, or you have specific flags/features in mind that you'd like to contribute, shoot us an email/file a Github Issue.
96
-
97
-
## Further Reading
98
-
99
-
This library (`rules_gqlgen`) enables this whole compilation and generation process to happen via
100
-
Bazel. The meat of the library is contained in the `[gqlgen](https://github.com/99designs/gqlgen)` library.
101
-
Their documentation contains lots of information on how to tweak your configuration + settings.
0 commit comments