Closed bjesuiter closed 1 year ago
New Observation:
PlanetScaleDialectConfig
extends Config
, coming from import { Config, Field } from '@planetscale/database';
But when i define the dependency explicitely as:
"kysely-planetscale": "https://esm.sh/v110/kysely-planetscale@1.3.0?external=kysely&deps=@planetscale/database@1.5.0",
I get this import: import { Config, Field } from 'https://esm.sh/v110/@planetscale/database@1.5.0/X-ZS9reXNlbHk/dist/index.d.js~.d.ts';
Which leads to an invalid url of https://esm.sh/v110/@planetscale/database@1.5.0/X-ZS9reXNlbHk/dist/index.d.js~.d.ts
:(
When looking into the PlanetScaleDialect Constructor, and then into it's options, ts seems to be right about the problem:
TODO: Figure out what's going on here