-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b915685
commit 91338b8
Showing
8 changed files
with
7,162 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
node_modules | ||
|
||
# Local Netlify folder | ||
.netlify | ||
|
||
yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
{ | ||
"eslint.validate": [ | ||
"javascript", | ||
"typescript", | ||
"graphql" | ||
] | ||
"eslint.validate": [ | ||
"javascript", | ||
"typescript", | ||
"graphql" | ||
], | ||
"deno.enable": true, | ||
"deno.enablePaths": [ | ||
"netlify/edge-functions" | ||
], | ||
"deno.unstable": true, | ||
"deno.importMap": ".netlify/edge-functions-import-map.json", | ||
"deno.path": "/Users/trevorblades/Library/Preferences/netlify/deno-cli/deno" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[[edge_functions]] | ||
function = "graphql" | ||
path = "/graphql" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import yoga from "../../src/graphql.ts"; | ||
|
||
export default yoga; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
import { createYoga } from "graphql-yoga"; | ||
import { schema } from "./schema"; | ||
import { schema } from "./schema.ts"; | ||
|
||
export const yoga = createYoga({ schema }); | ||
|
||
export default { | ||
fetch: yoga.fetch, | ||
}; | ||
export default createYoga({ schema }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters