Skip to content

Commit

Permalink
Merge pull request #655 from dackroyd/remove-custom-directives-support
Browse files Browse the repository at this point in the history
Remove Custom Directives Support
  • Loading branch information
pavelnikolov authored Feb 21, 2025
2 parents 4eae033 + c2a578e commit 8119220
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 1,353 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ While still under development (`internal` APIs are almost certainly subject to c
- parallel execution of resolvers
- subscriptions
- [sample WS transport](https://github.com/graph-gophers/graphql-transport-ws)
- directive visitors on fields (the API is subject to change in future versions)

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

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

### Custom Errors

Expand Down
4 changes: 0 additions & 4 deletions directives/doc.go

This file was deleted.

30 changes: 0 additions & 30 deletions directives/visitor.go

This file was deleted.

130 changes: 0 additions & 130 deletions example/directives/authorization/README.md

This file was deleted.

59 changes: 0 additions & 59 deletions example/directives/authorization/authorization.go

This file was deleted.

Binary file not shown.
76 changes: 0 additions & 76 deletions example/directives/authorization/server/server.go

This file was deleted.

37 changes: 0 additions & 37 deletions example/directives/authorization/user/user.go

This file was deleted.

Loading

0 comments on commit 8119220

Please sign in to comment.