Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit GetRootAs methods for all types in Go and Python #363

Merged
merged 2 commits into from Jul 22, 2016

Conversation

danring
Copy link
Contributor

@danring danring commented Nov 22, 2015

Handles part of #341, adding GetRootAs* methods to non-root tables. Basically just applies the same change from 9f506f5 to idl_gen_python.cpp and idl_gen_go.cpp. (Also removes an extra newline from generated Python.)

@uwydoc
Copy link

uwydoc commented Nov 26, 2015

the "GetRootAs" methods are really convenient and necessary for reading messages consisting only non-root_type object.

@ghost
Copy link

ghost commented Nov 30, 2015

Looks good to me, @rw ?

@ghost ghost force-pushed the master branch 2 times, most recently from b611dc4 to fe2f8d3 Compare December 4, 2015 17:50
@rw
Copy link
Collaborator

rw commented Dec 27, 2015

Thanks for submitting this PR. Please add tests that verify all of these work correctly for the example Monster (and so that we can prevent regressions). Otherwise LGTM.

@ghost ghost mentioned this pull request Jan 4, 2016
@rw
Copy link
Collaborator

rw commented Jan 4, 2016

Bump @danring

@danring
Copy link
Contributor Author

danring commented Jan 5, 2016

@rw Apologies, I was offline for a week. I'll add tests soon.

@danring
Copy link
Contributor Author

danring commented Jan 7, 2016

@rw Are the added tests sufficient?

@danring
Copy link
Contributor Author

danring commented Jan 24, 2016

Bump @rw -- Any further tests needed?

@ghost
Copy link

ghost commented Jun 30, 2016

Hi! Any chance to have this merged somehow? Would help to use gRPC+flatbuffers in Go. Thanks!

@ghost
Copy link

ghost commented Jul 1, 2016

@rw?

@ghost
Copy link

ghost commented Jul 19, 2016

status?

@rw rw merged commit a56c6e5 into google:master Jul 22, 2016
@rw
Copy link
Collaborator

rw commented Jul 22, 2016

Thank you, merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants