Skip to content

Commit

Permalink
Use .html in links rather than .md.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Mar 14, 2018
1 parent a01ce05 commit 236ed46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/schema-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ GraphQL is great for internationalization, since a GraphQL server can access unl

### Enforcing access permissions

To implement the `@auth` example mentioned in the [**Declaring schema directives**](schema-directives.md#declaring-schema-directives) section below:
To implement the `@auth` example mentioned in the [**Declaring schema directives**](schema-directives.html#Declaring-schema-directives) section below:

```js
const typeDefs = `
Expand Down Expand Up @@ -573,7 +573,7 @@ Since the `getDirectiveDeclaration` method receives not only the name of the dir

Before `SchemaDirectiveVisitor` was implemented, the `makeExecutableSchema` function took a `directiveResolvers` option that could be used for implementing certain kinds of `@directive`s on fields that have resolver functions.

The new abstraction is more general, since it can visit any kind of schema syntax, and do much more than just wrap resolver functions. However, the old `directiveResolvers` API has been [left in place](directive-resolvers.md) for backwards compatibility, though it is now implemented in terms of `SchemaDirectiveVisitor`:
The new abstraction is more general, since it can visit any kind of schema syntax, and do much more than just wrap resolver functions. However, the old `directiveResolvers` API has been [left in place](directive-resolvers.html) for backwards compatibility, though it is now implemented in terms of `SchemaDirectiveVisitor`:

```typescript
function attachDirectiveResolvers(
Expand Down

0 comments on commit 236ed46

Please sign in to comment.