Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ObjC] Flip the default for two generation options.
- `generate_minimal_imports` is now `yes`, this reduces the imports generated into the generated source. - `headers_use_forward_declarations` is now `no`; this causes the generated .pbobj.h files to directly import all the headers needed to define types used by this types defined in the file. This provides better compatibility for Swift interop especially when the ObjC protos are used in multiple libraries as forward declarations can cause issues for importing into Swift. If you need to override either options, please open an issue on github to report the reason. A future release of the library will remove these options locking in the new behaviors. PiperOrigin-RevId: 559737716
- Loading branch information