facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

Make swift generator understand include paths that are relative to the file they're in #333

Closed linfrank closed 6 years ago

linfrank commented 7 years ago

When processing include paths, Apache thrift can understand the path as relative to the current .thrift file. However, the swift generator currently only understand the path as relative to the current working directory, which makes it incompatible with thrift IDL repos set up using relative paths. This PR adds the option: https://github.com/facebook/swift/pull/332