Skip to content

Adaptavist/forge-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhanced Forge Resolver

  • A convention for declaring resolver functions in a type-safe manner
  • Creating the handler function referenced in the manifest
  • Type-safe invocation of resolver functions from a consumer module
  • Creating type-safe proxies for functions or even the entire resolver
  • Registration of schemas (eg. Zod) against resolver functions for payload and result validation
  • Use any Standard Schema compliant validation lib (eg. Zod)
  • No dependencies on @forge/* or other packages (other than the optional schema lib of your choice)
  • Compatibility helpers to aid a gradual migration from @forge/resolver

About

Enhanced @forge/resolver with type-safety and runtime validation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published