icerpc / icerpc-docs

Documentation site for IceRPC
https://docs.icerpc.dev
Other
7 stars 6 forks source link

clarify "return single type" #57

Closed pepone closed 1 year ago

pepone commented 1 year ago

Then I believe it would be more accurate to write "When the operation has a single return type", The way I see it, an operation has a return type, and it returns a value, which has a type matching the operation returns type.

_Originally posted by @pepone in https://github.com/icerpc/icerpc-docs/pull/54#discussion_r1192956961_

Should we use "an operation has a single return type" instead of "an operation returns a single type"?

bernardnormier commented 1 year ago

We now use:

When an operation returns a single parameter, this parameter cannot have a name and the syntax is slightly different: