go-pdk icon indicating copy to clipboard operation
go-pdk copied to clipboard

Fix tests and adds support for custom schema

Open at-silva opened this issue 1 year ago • 2 comments

feat(api): adds support for custom schema

  • Adds support for custom schema i.e.:
    type (
        Config struct {
      	  Path string `schema:"{'required': true, 'starts_with': '/'}"`
        }
    )
    

fix(test): typo and coroutine deadlock

  • Fixes #163

at-silva avatar Nov 03 '23 15:11 at-silva

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 03 '23 15:11 CLAassistant

I like the annotations usage to describe richer schemas. Thanks for opening this. We will look into this feature as soon as we can. I am downgrading this one to "draft" until we can approach this -- also taking requests like https://github.com/Kong/go-pdk/issues/93 into consideration.

gszr avatar Mar 13 '24 19:03 gszr