@Jens: Yes!

Name Apache Thrift IDL source files with only letters and numbers (never
spaces or punctuation), always begin the file name with a letter and use
the suffix .thrift

Example: PacificNorthwestFish.thrift

On Thu, Jun 11, 2015 at 2:42 PM, Jens Geyer <[email protected]> wrote:

> Hi,
>
> There is no convention that I'm aware of, but sticking to "conventional"
> file names is not such a bad idea with Thrift indeed. Otherwise you may run
> into issues, as these file names are sometimes used for various purposes,
> such as default namespaces. One example is THRIFT-1383. In some cases it is
> possible to get rid of these issue by specifying a proper namespace within
> the IDL.
>
> @Randy: Is that something for your list?
>
> Have fun,
> JensG
>
>
> -----Ursprüngliche Nachricht----- From: Suresh Marru
> Sent: Thursday, June 11, 2015 5:01 PM
> To: [email protected]
> Subject: Thrift file naming convention
>
>
> Hi,
>
> Is there is a thrift file naming convention, especially for long file
> names?
>
> I changed a thrift file from a name like computeResourceModel.thrift to
> compute-resource-model.thrift and the imports do not work. Just wondering
> if there is a suggested naming convention?
>
> Thanks,
> Suresh
>
>
>

Reply via email to