fuwaneko / node-protobuf

Google Protocol Buffers wrapper for Node.js [UNMAINTAINED]
181 stars 42 forks source link

ambiguous handling of package namespace #44

Closed royaltm closed 9 years ago

royaltm commented 9 years ago

if your proto file has package definition e.g.:

package com.some.namespace;

you need to prefix schema name with that namespace to serialize:

serialize(obj, "com.some.namespace.MySchema")

however info() gives names without namespace and there is no way to somehow read the namespace out of Protobuf instance.