sebastianwessel / surrealdb-client-generator

Tool which generates a typescript client for SurrealDB and zod schema of a given database
MIT License
77 stars 12 forks source link

Object fixes and tests #39

Closed hammo92 closed 4 months ago

hammo92 commented 4 months ago

Fixes for objects: Set optional correctly on object if definitions is option<object> If all object are values are optional we set the object to optional Handle objects in arrays recursively

Add tests

sebastianwessel commented 4 months ago

@hammo92 awesome work 🚀 I invited you to the repo to give you some collaborator access. Is the merge button clickable for you?

sebastianwessel commented 4 months ago

Should fix #37 ?

hammo92 commented 4 months ago

Should fix #37 ?

Should do, I used those definitions in the test cases.

hammo92 commented 4 months ago

@hammo92 awesome work 🚀 I invited you to the repo to give you some collaborator access. Is the merge button clickable for you?

Yeah, it is. Any changes needed or are we good to merge?

sebastianwessel commented 4 months ago

Free to fire - Your work, you should press the button... 🎉

sebastianwessel commented 4 months ago

Is it than maybe time for a new release, or is there something you like to add/change before release? @hammo92

hammo92 commented 4 months ago

Seems like a good time for a new release, think with the object fixes we're pretty stable. Until the next bug pops up!

sebastianwessel commented 4 months ago

version 2.5 is out