-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for PostGIS types #1113
base: master
Are you sure you want to change the base?
Conversation
@@ -82,11 +82,17 @@ jobs: | |||
with: | |||
instance-name: test | |||
server-version: ${{ matrix.edgedb-version }} | |||
cli-version: ${{ matrix.edgedb-version == 'nightly' && 'nightly' || 'stable' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
packages/driver/src/cli.mts
Outdated
@@ -341,6 +341,7 @@ async function downloadFile(url: string | URL, path: string) { | |||
throw new Error(` - Download failed: ${response.statusText}`); | |||
} | |||
|
|||
// @ts-ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use @ts-expect-error Some note about why
here? We have a lint rule for this, but I wonder if the .mts
extension is throwing off the matcher. I'll take a look at that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why that was there. It seems to be fine without it now.
@@ -197,6 +197,14 @@ export class WriteBuffer { | |||
return this; | |||
} | |||
|
|||
writeDeferredSize(): () => void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was just so I didn't need to create a new WriteBuffer to encode the geometry into, only to then immediately copy it into the main message write buffer.
No description provided.