facebookarchive / swift

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

Add support for annotations on service declarations #81

Closed andrewcox closed 11 years ago

andrewcox commented 11 years ago

FB C++ thrift added a priority annotation, which influences execution order of requests. In addition to annotating methods with priorities, it supports annotating services with priorities.

This change doesn't add support for priorities, just adds support for reading annotations attached to a service so that .thrift files using this syntax will still parse in the swift generator.