Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1791

thrift's namespace directive when generating haskell code

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • Haskell - Compiler
    • None
    • linux/fedora17

    Description

      Hello, I was wondering what effect has the namespace directive, or what effect should it have, when generating haskell code, let's assume I have a product.thrift file:

      namespace hs A.B.C

      struct Product {
      1: i32 cost
      }

      Should this generate a haskell file that creates a module like this:

      module Product where
      [...]

      or like this:

      module A.B.C.Product where
      [...]

      For me it picks the first version.

      Thanks.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            flojdek Tomasz Kupczyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment