Skip to content

Commit 8119220

Browse files
authored
Merge pull request #655 from dackroyd/remove-custom-directives-support
Remove Custom Directives Support
2 parents 4eae033 + c2a578e commit 8119220

File tree

16 files changed

+6
-1353
lines changed

16 files changed

+6
-1353
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ While still under development (`internal` APIs are almost certainly subject to c
1717
- parallel execution of resolvers
1818
- subscriptions
1919
- [sample WS transport](https://github.com/graph-gophers/graphql-transport-ws)
20-
- directive visitors on fields (the API is subject to change in future versions)
2120

2221
## (Some) Documentation [![GoDoc](https://godoc.org/github.com/graph-gophers/graphql-go?status.svg)](https://godoc.org/github.com/graph-gophers/graphql-go)
2322

@@ -157,7 +156,6 @@ schema := graphql.MustParseSchema(sdl, &RootResolver{}, nil)
157156
- `Logger(logger log.Logger)` is used to log panics during query execution. It defaults to `exec.DefaultLogger`.
158157
- `PanicHandler(panicHandler errors.PanicHandler)` is used to transform panics into errors during query execution. It defaults to `errors.DefaultPanicHandler`.
159158
- `DisableIntrospection()` disables introspection queries.
160-
- `DirectiveVisitors()` adds directive visitor implementations to the schema. See examples/directives/authorization for an example.
161159

162160
### Custom Errors
163161

directives/doc.go

Lines changed: 0 additions & 4 deletions
This file was deleted.

directives/visitor.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

example/directives/authorization/README.md

Lines changed: 0 additions & 130 deletions
This file was deleted.

example/directives/authorization/authorization.go

Lines changed: 0 additions & 59 deletions
This file was deleted.
Binary file not shown.

example/directives/authorization/server/server.go

Lines changed: 0 additions & 76 deletions
This file was deleted.

example/directives/authorization/user/user.go

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)