Mark Scannell
a6702960c1
updated
2020-12-12 09:28:25 +00:00
Mark Scannell
2c350f1d6b
Updated
2020-12-12 09:25:35 +00:00
mescanne
05d0c56034
Create go.yml
...
Initial
2020-12-12 00:06:59 +00:00
mescanne
c9fb036e14
Merge pull request #21 from GoogleCloudPlatform/updates
...
Bringing code up to date
2020-12-11 21:03:59 +00:00
Mark Scannell
bcef5053fd
Updated generated example schema.
2020-12-11 21:03:14 +00:00
Mark Scannell
3c0c3e03d7
Merge branch 'master' into updates
2020-12-11 13:51:43 +00:00
mescanne
460852542d
Merge pull request #23 from GoogleCloudPlatform/test_pr
...
Use comments as field description -- with examples
2020-12-11 13:09:06 +00:00
Mark Scannell
172473735b
Updated example to include descriptions.
2020-12-11 12:59:00 +00:00
mescanne
ea468d304f
Merge pull request #12 from chuhlomin/master
...
Use comments as field description
2020-12-11 12:58:20 +00:00
mescanne
4d53edb233
Merge branch 'master' into master
2020-12-11 12:21:32 +00:00
mescanne
b07122d645
Merge pull request #19 from glukasiknuro/handle_recursive_messages
...
Add support for recursive messages
2020-12-11 11:21:32 +00:00
mescanne
d4dcaa773a
Merge pull request #22 from GoogleCloudPlatform/circleci
...
Initial protoc-gen-bq-schema release
2020-12-11 10:01:32 +00:00
Mark Scannell
edc9dc892d
Commit to add CI and release management -- release current version prior to making potentially breaking changes.
2020-12-11 09:29:29 +00:00
Mark Scannell
d0bbe34fd8
Added circleci release project
2020-11-16 15:29:13 +00:00
Mark Scannell
9d309a1b66
Updated
2020-11-16 15:12:47 +00:00
Mark Scannell
f76747f796
- Updated to latest golang protobuf library
...
- Removed old plugin style; no longer supported in golang protobuf
library
- Added go modules and removed vendored code
- Added go generate command for re-generating code for extension protos
2020-09-18 13:11:45 +01:00
Grzegorz Lukasik
15be840721
Add support for recursive messages
...
Previously recursive message ended up in infinite loop and protoc
finished with error like:
```
runtime: goroutine stack exceeds 1000000000-byte limit
```
This adds a workaround by when detecting that the same message is nested
within itself (possibly with some intermediate), it does not generate
field for the nested message.
2020-04-28 10:30:11 -07:00
Konstantin Chukhlomin
ff2332b6a1
Merge branch 'master' into master
2019-01-28 10:52:48 -05:00
Konstantin Chukhlomin
c0a11dfb2f
Use comments as field description
2019-01-24 16:55:07 -05:00
Josh Humphries
026f9fcdf7
fixes some issues with previous PR
2019-01-19 20:26:26 +09:00
Yuki Yugui Sonoda
9980eba717
Follow #10 in README
2019-01-14 22:17:49 +09:00
Yuki Yugui Sonoda
bf402518b8
Fix a cosmetic issue
...
https://github.com/golang/go/wiki/CodeReviewComments#indent-error-flow
2019-01-14 22:15:27 +09:00
Yuki Yugui Sonoda
10d4d733d9
Regenerate .pb.go files with the latest protoc-gen-go
2019-01-14 22:15:27 +09:00
Yuki Yugui Sonoda
80b9ea45e4
Correct Make dependencies
2019-01-14 22:15:27 +09:00
Yuki Yugui Sonoda
1050075478
Fix test failures
2019-01-14 22:15:27 +09:00
Josh Humphries
cb190f8306
use only tag 1021 extension tag number (NOT compatible!); try to make plugin support old extension
2019-01-09 14:21:05 -05:00
Josh Humphries
4a8c98d24f
allow customizing field names in BQ schema
2018-11-07 18:31:58 -05:00
Yuki Yugui Sonoda
481d6bbb82
Merge pull request #8 from subcast/master
...
don't create RECORD when it would have no fields
2018-02-05 11:37:44 +09:00
Daniel McCartney
fce309a1cf
Merge pull request #2 from subcast/daniel-test-empty-msg
...
test for empty messages
2018-02-03 18:10:40 -08:00
Daniel McCartney
ef099259b4
test for empty messages
2018-02-03 18:09:15 -08:00
Daniel McCartney
3c121abbf9
Merge pull request #1 from subcast/daniel-empty-records
...
discard RECORD fields that would have no fields
2018-02-03 16:04:46 -08:00
Daniel McCartney
54e4e5d6c6
discard RECORD fields that would have no fields
2018-02-03 16:02:37 -08:00
Yuki Yugui Sonoda
ad7b76218d
Merge pull request #2
...
Correct mappings with new features of protobuf and bigquery
2018-01-29 22:07:25 +09:00
Yuki Yugui Sonoda
f3d93734b1
Upgrade descriptor.proto to protobuf 3.5.1.1
2018-01-29 22:05:19 +09:00
Yuki Yugui Sonoda
3c3abcc2d7
Add examples
2018-01-29 21:57:48 +09:00
Yuki Yugui Sonoda
5e58896a07
Merge branch 'master' into pr/2
2018-01-29 21:35:03 +09:00
Yuki Yugui Sonoda
15aaa2bae1
Merge pull request #6 from feature/field-options
...
Feature: Field Options
2018-01-29 21:09:09 +09:00
Yuki Yugui Sonoda
cf55f01fad
Add examples
2018-01-29 21:08:50 +09:00
Yuki Yugui Sonoda
fbf7b13643
Add test cases
2018-01-29 21:07:21 +09:00
Yuki Yugui Sonoda
fc184019fb
Fix styles
...
* indent: https://golang.org/wiki/CodeReviewComments#indent-error-flow
* variable names: https://golang.org/wiki/CodeReviewComments#variable-names
* remove comments which repeat the codes
* remove an obsolete comment
2018-01-29 21:07:21 +09:00
Yuki Yugui Sonoda
f7428ed7d6
Fix a bug that the plugin ignores the new options
2018-01-29 21:07:21 +09:00
Yuki Yugui Sonoda
c566d569df
gofmt
...
https://github.com/golang/go/wiki/CodeReviewComments#gofmt
2018-01-29 21:07:21 +09:00
Yuki Yugui Sonoda
e6b4ca330c
Fix compilation errors
2018-01-29 21:07:21 +09:00
Sam Gammon
3c32405182
Complete refactor to submessage for field options
2018-01-26 09:58:49 -08:00
Sam Gammon
6cf10c79e6
Package field options as message
2018-01-26 09:39:43 -08:00
Yuki Yugui Sonoda
1570dc7892
Merge pull request #5 from sgammon/fix/local-import
...
Fix local import
2017-12-07 15:25:16 +09:00
Sam Gammon
5e517cf32a
Implement field description
2017-11-22 17:35:53 -08:00
Sam Gammon
90c993f3f4
Update protos
2017-11-22 17:31:31 -08:00
Sam Gammon
70def48c4f
Match Makefile to new file names
2017-11-22 17:31:08 -08:00
Sam Gammon
920ad4d8ac
Add support for table and field descriptions
2017-11-22 17:30:34 -08:00