Commit Graph

29 Commits

Author SHA1 Message Date
jhayotte
91ebb6e521 handle statement import of proto file 2017-05-02 11:12:26 +02:00
gfanton
fcfaf82ebd Add jsSuffixReservedKeyword helper 2017-04-13 13:15:40 +02:00
Pierre Roullon
263cb87b9c fix (gotype helper): when leading pkg is empty string, remove leading dot 2017-04-06 14:43:00 +02:00
Valerio Gheri
c40779224f Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
2017-03-31 18:01:58 +02:00
gfanton
7758db8357 Create a full namespace 2017-02-11 17:49:51 +01:00
Valerio Gheri
bc937830d2 goType can now correctly detect arrays of built-in types 2017-02-07 15:21:32 +01:00
Valerio Gheri
c1f10d57e9 Added helper to detect if a url contains variables in the form of url parameters with the same name of the fields of a specific protobuf message 2017-02-01 14:38:14 +01:00
gfanton
1006df3564 Expose namespaced type 2017-01-17 17:40:35 +01:00
Mathieu Acthernoene
4149bd5c25 Support List / Message types 2017-01-11 16:33:03 +01:00
Mathieu Acthernoene
0ce8ebe54b Basic getter & setter support 2017-01-11 15:39:51 +01:00
Mathieu Acthernoene
47277242ae Array<number> -> Uint8Array 2017-01-11 14:52:00 +01:00
Mathieu Acthernoene
738a68fd4c Add type namespaces 2017-01-10 12:24:06 +01:00
Mathieu Acthernoene
acbd1bf87b Plain support of Nested Enums 2017-01-10 11:40:48 +01:00
Mathieu Acthernoene
a8d641cd8d Add Bytes type 2017-01-05 18:32:54 +01:00
Mathieu Acthernoene
81310a7f0f Update go helpers 2017-01-05 18:04:20 +01:00
Manfred Touron
6b43c020b1 Merge pull request #39 from gfanton/add-jstype-helper
Add jstype
2017-01-04 07:40:05 +01:00
gfanton
f8c091326e Add jstype 2017-01-04 00:39:00 +01:00
gfanton
c73331e20d Fix camelCase when len = 1 2017-01-04 00:26:07 +01:00
Valerio Gheri
22d4ea9a44 Close #34 2016-12-29 17:21:53 +01:00
Valerio Gheri
6106c552da Fixed getMessageType to use equality comparison to avoid side effects 2016-12-27 17:56:44 +01:00
Valerio Gheri
f78470553b Adds helper to know if a field is a repeated one. Closes #32 2016-12-26 12:13:04 +01:00
Pierre Roullon
c7d0a86fec feat (helper): handle google.api.http option with httpVerb and httpPath 2016-12-22 22:42:32 +00:00
Pierre Roullon
49d31f1636 fix (helper): fix isFieldMessage 2016-12-21 14:54:48 +00:00
Pierre Roullon
5dd30f38f3 feat (helper): add field reflection helpers getMessageType and isFieldMessage 2016-12-21 09:26:26 +00:00
Mathieu Acthernoene
536162a58b Rewrite simple test (only grpc output) 2016-12-20 11:31:46 +01:00
Mathieu Acthernoene
304fba375b helloworld_js generation complete 2016-12-19 15:43:38 +01:00
Mathieu Acthernoene
abbd30d34c Working js grpc generation (same as official output) 2016-12-16 16:08:37 +01:00
Mathieu Acthernoene
da88fbcbd7 use interfaces instead of strings 2016-12-15 13:31:16 +01:00
Mathieu Acthernoene
add7ae7237 Extract ProtoHelpersFuncMap in its own file 2016-12-15 13:28:57 +01:00