Skip to content

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 force-pushed the go-file-identifier branch from 30a8751 to 1fb83e0 Compare April 12, 2023 06:39
@jdemeyer jdemeyer force-pushed the go-file-identifier branch from 1fb83e0 to 1ec0d13 Compare April 12, 2023 13:16
@jdemeyer jdemeyer marked this pull request as ready for review April 12, 2023 13:17
@jdemeyer jdemeyer requested a review from le-michael April 15, 2023 19:04
@le-michael
Copy link
Contributor

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