Skip to content

Commit 392e61a

Browse files
Fix unclosed strings in @link code examples (#37)
1 parent 6429f7d commit 392e61a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

link/v1.0/link-v1.0.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ An element, possibly aliased, to import into the document.
149149
or an object with `name` and (optionally `as`):
150150

151151
```graphql example -- import an aliased name
152-
@link(url: "https://example.com/, import: [{
152+
@link(url: "https://example.com/", import: [{
153153
name: "@example",
154154
as: "@eg"
155155
}, { name: "Purpose", as: "LinkPurpose" }])
@@ -158,7 +158,7 @@ or an object with `name` and (optionally `as`):
158158
`name` and `as` MUST be of the same type:
159159

160160
```graphql counter-example -- incorrectly importing a type as a directive
161-
@link(url: "https://example.com/, import: [{
161+
@link(url: "https://example.com/", import: [{
162162
name: "SomeType",
163163
as: "@someDirective"
164164
}])
@@ -167,7 +167,7 @@ or an object with `name` and (optionally `as`):
167167
Imports cannot currently reference transitive schemas:
168168

169169
```graphql counter-example -- incorrectly importing a transitive schema reference
170-
@link(url: "https://example.com/, import: ["otherSchema::"])
170+
@link(url: "https://example.com/", import: ["otherSchema::"])
171171
```
172172

173173
Note: Future versions may support this.

0 commit comments

Comments
 (0)