Generic Invocation Compatibility Notes

Compatibility note for generic invocation documentation

Related sample:

This page is kept mainly for compatibility with older links.

For current Dubbo Go, please read Generic Call. The old examples that use:

  • config.NewReferenceConfigBuilder()
  • GenericLoad()
  • GetRPCService()

describe the legacy configuration-centric API path. The recommended runtime entry today is:

  • client.NewGenericService(...)
  • filter/generic.GenericService.Invoke(...)
  • filter/generic.GenericService.InvokeWithType(...)

If you need a working example, use the dubbo-go-samples/generic sample first.