On Mon, Oct 27, 2014 at 11:18 AM, Camp, Jonathan
<[email protected]> wrote:
> But you say that this objfsptr def is valid?
>
> [{'name': 'objfsptr',
> 'type': {'fields': [{'name': 'uri', 'type': 'string'}],
> 'name': 'ObjFSPtr',
> 'namespace': 'FooServiceType',
> 'type': 'record'}}]
This is a valid parameter list for a message: a parameter name paired
with a type (a record in this case).
If you had a message 'add(int x, int y)', then the Avro parameter list
might look like:
[{"name":"x", "type":"int"}, {"name":"y", "type":"int"}]
> Is this also valid? Identical?
>
> [{'name': 'objfsptr',
> 'fields': [{'name': 'uri', 'type': 'string'}],
> 'name': 'ObjFSPtr',
> 'namespace': 'FooServiceType',
> 'type': 'record'}]
This is not a valid parameter list.
Doug