D
Deno

help

Is there anyone using kv with pentagon ORM and Zod ?

LLikone7/13/2023
I've tried using pentagon for Deno kv in a Fresh project, and it seems like it's not working.
EEsente7/13/2023
I did give it a try and may assit. What problems are you encoutering?
LLikone7/14/2023
Thanks for jour response. When i insert using db.users.create, it returns a response. But when i'm retrieving with findFirst or findMany, it always returns indefined
LLikone7/14/2023
LLikone7/14/2023
Am i doing something wrong ?
EEsente7/14/2023
You may need to use .describe("primary") in your Zod schema to mark the primary key. It's Pentagon's way. I suppose that should be mentioned in the doc.

Looking for more? Join the community!

Recommended Posts
Prefix Kv keys with a base partCurrently I add `base()` to all keys: ``` kv.set([base(), "foo"], value) ``` Instead of manually adCaching old versionsWhy is deno caching old versions even tho the version is specifieddeno check: Module '"internal:///missing_dependency.d.ts"' has no exported member...The sequence of events: - Upgraded to Deno 1.35.0 - ran `deno check` on my code - got an error like cargo compile size 160MWhen using `cargo install deno` the result is 160M, if there's info on shrinking this somewhere pleaDeno type enforcementHey, I have a question about the type checking. ```ts function logging(message : number) { consoDNS Records and Denoso I am confused I'm building an application that uses Steam's web API and am looking at why the resFresh pattern helpCould anyone possibly help guide me to understand the 'freshest' pattern for the following, please? Deno seems to assume wrong return type (Puppeteer)With the following code, I get an type error which I do not expect: ```ts const element: ElementHanCreating my first Deno moduleHave never published to NPM or Denoland before, so I'm having some problems figuring shit out. I'm gSanitize multiple test stepsIs it possible to sanitize multiple steps inside of one test. I want to test my DB with somthing likFFI string corrupted?Is there anything i'm doing wrong here? I'm confused on why it's crashing on setVerisonUE5 in particTypescript Conditional Type ReturnsI don't know why but this conditional type return is just causing me grief. ```ts type InnerType<T>Parsing Hostname for TLD, domain name, and SLDdoes anyone know of any packages to parse a URL's hostname for the top level domain, domain name, anMigrating large Node project to DenoIs there any reliable way to migrate a Node project to Deno? Currently working on a large project th