v0.15.0
What's Changed
- Improve error BadRequest messages by @VojtechVitek in #70
- Render annotations map for request paths and call onRequest hook if defined by @LukasJenicek in #71
This ridl definition:
service ExampleService
- Ping()
# Status endpoint
#
# gives you current status of running application
@internal
- Status() => (status: bool)
- Version() => (version: Version)
Rendered service.gen.go
var (
methods = map[string]method{
"/rpc/ExampleService/Status": {
Name: "Status",
Service: "ExampleService",
Annotations: map[string]string{"internal": ""},
},
"/rpc/ExampleService/Version": {
Name: "Version",
Service: "ExampleService",
Annotations: map[string]string{},
},
}
)
Full Changelog: v0.14.8...v0.15.0