aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--backend/gqlgen.yml2
-rw-r--r--backend/graphql/generated.go2
l---------frontend/src/graphql/schema.graphql2
-rw-r--r--graphql/schema.graphql (renamed from common/graphql/schema.graphql)0
5 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index aecd0c5..9b08ef4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ COPY frontend/package.json frontend/package-lock.json ./
RUN npm install
COPY frontend/ ./
-COPY common/graphql/schema.graphql src/graphql/schema.graphql
+COPY graphql/schema.graphql src/graphql/schema.graphql
RUN npm run build
##########################################
diff --git a/backend/gqlgen.yml b/backend/gqlgen.yml
index cc4472d..c09e9e2 100644
--- a/backend/gqlgen.yml
+++ b/backend/gqlgen.yml
@@ -1,5 +1,5 @@
schema:
- - ../common/graphql/schema.graphql
+ - ../graphql/schema.graphql
exec:
package: graphql
diff --git a/backend/graphql/generated.go b/backend/graphql/generated.go
index 9f45445..72379bc 100644
--- a/backend/graphql/generated.go
+++ b/backend/graphql/generated.go
@@ -492,7 +492,7 @@ func (ec *executionContext) introspectType(name string) (*introspection.Type, er
}
var sources = []*ast.Source{
- {Name: "../../common/graphql/schema.graphql", Input: `scalar DateTime
+ {Name: "../../graphql/schema.graphql", Input: `scalar DateTime
"""
Represents a feed subscription in the system
diff --git a/frontend/src/graphql/schema.graphql b/frontend/src/graphql/schema.graphql
index 4271904..5771f01 120000
--- a/frontend/src/graphql/schema.graphql
+++ b/frontend/src/graphql/schema.graphql
@@ -1 +1 @@
-../../../common/graphql/schema.graphql \ No newline at end of file
+../../../graphql/schema.graphql \ No newline at end of file
diff --git a/common/graphql/schema.graphql b/graphql/schema.graphql
index e37d729..e37d729 100644
--- a/common/graphql/schema.graphql
+++ b/graphql/schema.graphql