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

Support file_identifier in Go #7904

Merged
merged 2 commits into from
Apr 26, 2023
Merged

Conversation

jdemeyer
Copy link
Contributor

@jdemeyer jdemeyer commented Apr 11, 2023

Fix #7901

I'm not 100% sure about the type to use for file identifiers. The existing method builder.FinishWithFileIdentifier uses a []byte. But I felt like a string is more appropriate (for one, because it can be a const then), so the new functionality in this PR uses string. But I'm open to change this if needed. Another option would be a fixed-size array [4]byte.

@github-actions github-actions bot added c++ codegen Involving generating code from schema golang grpc labels Apr 11, 2023
@jdemeyer jdemeyer marked this pull request as ready for review April 12, 2023 13:17
@le-michael
Copy link
Collaborator

LGTM. I'll defer to @dbaileychess for the final approval.

@dbaileychess dbaileychess enabled auto-merge (squash) April 26, 2023 05:11
@dbaileychess dbaileychess merged commit 63495b9 into google:master Apr 26, 2023
@jdemeyer jdemeyer deleted the go-file-identifier branch April 26, 2023 08:26
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
Co-authored-by: Derek Bailey <derekbailey@google.com>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
Co-authored-by: Derek Bailey <derekbailey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema golang grpc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support file_identifier in Go
3 participants