Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
e4d22cec
Commit
e4d22cec
authored
May 22, 2020
by
Tim Neutkens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting of older PR that passed tests
parent
6ac2f4b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
642 additions
and
210 deletions
+642
-210
next.config.js
examples/with-reason-relay/next.config.js
+1
-1
_app.js
examples/with-reason-relay/pages/_app.js
+1
-1
init-schema.graphql
examples/with-reason-relay/schema/init-schema.graphql
+1
-1
schema.graphql
examples/with-reason-relay/schema/schema.graphql
+639
-207
No files found.
examples/with-reason-relay/next.config.js
View file @
e4d22cec
...
@@ -3,7 +3,7 @@ const path = require('path')
...
@@ -3,7 +3,7 @@ const path = require('path')
const
Dotenv
=
require
(
'dotenv-webpack'
)
const
Dotenv
=
require
(
'dotenv-webpack'
)
module
.
exports
=
{
module
.
exports
=
{
webpack
:
config
=>
{
webpack
:
(
config
)
=>
{
config
.
plugins
=
config
.
plugins
||
[]
config
.
plugins
=
config
.
plugins
||
[]
config
.
plugins
=
[
config
.
plugins
=
[
...
...
examples/with-reason-relay/pages/_app.js
View file @
e4d22cec
import
React
from
'react'
import
React
from
'react'
import
App
from
'next/app'
import
App
from
'next/app'
const
isStatusCodeOk
=
res
=>
{
const
isStatusCodeOk
=
(
res
)
=>
{
try
{
try
{
return
`
${
res
.
statusCode
}
`
.
startsWith
(
'2'
)
return
`
${
res
.
statusCode
}
`
.
startsWith
(
'2'
)
}
catch
(
e
)
{
}
catch
(
e
)
{
...
...
examples/with-reason-relay/schema/init-schema.graphql
View file @
e4d22cec
...
@@ -4,4 +4,4 @@ type BlogPost implements Node {
...
@@ -4,4 +4,4 @@ type BlogPost implements Node {
id
:
ID
!
@
isUnique
id
:
ID
!
@
isUnique
title
:
String
!
title
:
String
!
updatedAt
:
DateTime
!
updatedAt
:
DateTime
!
}
}
\ No newline at end of file
examples/with-reason-relay/schema/schema.graphql
View file @
e4d22cec
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment