sebastianwessel / surrealdb-client-generator

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

Object fixes and tests #39

Closed hammo92 closed 3 months ago

hammo92 commented 3 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 3 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 3 months ago

Should fix #37 ?

hammo92 commented 3 months ago

Should fix #37 ?

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

hammo92 commented 3 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 3 months ago

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

sebastianwessel commented 3 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 3 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 3 months ago

version 2.5 is out