Skip to content

Commit

Permalink
Fix: bug with reading in saved graphql files
Browse files Browse the repository at this point in the history
  • Loading branch information
dosco committed Oct 14, 2023
1 parent 9d02a7b commit eab3fc0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 820 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN yarn
RUN yarn build

# stage: 2
FROM golang:1.20 as go-build
FROM golang:1.21 as go-build
RUN go install github.com/rafaelsq/wtc@latest

WORKDIR /app
Expand Down
1 change: 1 addition & 0 deletions core/internal/allow/gql.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func parseGQL(fs FS, fname string, r io.Writer) (err error) {
m := incRe.FindStringSubmatch(s.Text())
if len(m) == 0 {
r.Write(s.Bytes()) //nolint:errcheck
r.Write([]byte("\n"))
continue
}

Expand Down
817 changes: 0 additions & 817 deletions go.work.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphjin",
"version": "3.0.19",
"version": "3.0.20",
"description": "GraphJin - Build APIs in 5 minutes with GraphQL",
"type": "module",
"main": "./wasm/js/graphjin.js",
Expand Down
1 change: 0 additions & 1 deletion serv/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
const (
routeGraphQL = "/api/v1/graphql"
routeREST = "/api/v1/rest/*"
actionRoute = "/api/v1/actions"
healthRoute = "/health"
)

Expand Down
Binary file modified wasm/graphjin.wasm
Binary file not shown.

1 comment on commit eab3fc0

@vercel
Copy link

@vercel vercel bot commented on eab3fc0 Oct 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.