Skip to content

v0.15.0

Latest
Compare
Choose a tag to compare
@LukasJenicek LukasJenicek released this 02 Oct 13:14
0ab8431

What's Changed

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