Skip to content

Commit

Permalink
Handle single line comments (#4)
Browse files Browse the repository at this point in the history
* bump to latest versions to fix

* fix ci
  • Loading branch information
zth authored Oct 28, 2023
1 parent d004500 commit 7e5c82d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 22 deletions.
20 changes: 10 additions & 10 deletions dbTestProject/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dbTestProject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "bun test test/",
"build": "npm run build:edgedb && npm run build:rescript",
"build:rescript": "rescript build -with-deps",
"build:edgedb": "rescript-edgedb generate --output ./src/__generated__ --src ./src",
"build:edgedb": "../dist/Cli.js generate --output ./src/__generated__ --src ./src",
"watch:edgedb": "npm run build:edgedb -- --watch"
},
"keywords": [],
Expand All @@ -17,6 +17,6 @@
"@rescript/core": "0.5.0",
"rescript": "11.0.0-rc.3",
"rescript-edgedb": "../",
"rescript-embed-lang": "0.2.0"
"rescript-embed-lang": "0.2.2"
}
}
7 changes: 7 additions & 0 deletions dbTestProject/src/Movies.res
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ let allMovies = client => {
} order by .title
`)

// let query = %edgeql(`
//# @name allMovies2
//select Movie {
// id
//} order by .title
//`)

client->query
}

Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"devDependencies": {
"esbuild": "^0.19.3",
"rescript": "^11.0.0-rc.3",
"rescript-embed-lang": "^0.2.0",
"rescript-embed-lang": "0.2.2",
"rescript-nodejs": "^15.0.0"
},
"peerDependencies": {
"@rescript/core": ">= 0.5.0",
"edgedb": ">= 1.3.6",
"rescript": "^11.0.0-rc.1 || next",
"rescript-embed-lang": ">= 0.2.0"
"rescript-embed-lang": ">= 0.2.2"
}
}

0 comments on commit 7e5c82d

Please sign in to comment.