devongovett / protobuf-jsonschema

Compiles Protobuf IDL to JSON Schema
119 stars 37 forks source link

error when handle map<int32, int32> type #5

Open fwang2002 opened 6 years ago

fwang2002 commented 6 years ago

When map<int32, int32> appears in .proto file, it will throw error. throw new Error('Can only use strings as map keys at ' + message.id + '.' + field.name);

Is it possible to solve?