Skip to content

GodotNuts/gz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

gz

The gz library is heavily inspired by zod.dev, the library created by @colinhacks.com as a method to validate schemas, responses, and requests with TypeScript, but created for the Godot Game Engine's primary language, GDScript.

See test_scene.gd for a list of current tests that you can run to ensure the library is functioning as expected, and for ways to use the various methods/types within the library.

Remaining implementations:

  1. Test transforms
  2. Test intersection
  3. Test except
  4. Test union
  5. Add strict key validation on object keys
  6. Add passthrough validation on object keys

Massive thank you to @colinhacks.com for creating the original Zod library! Check it out at https://zod.dev! If you're a TypeScript developer, it's probably the best library out there for ensuring everything just works. My hope is that this library is able to function similarly but for Godot!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published