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

client and processor do not inherit from the proper namespace scope

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1
    • Ruby - Compiler
    • None
    • Patch Available

    Description

      Given the following:

      #bar.thrift
      namespace rb xyz
      service Bar {
      void who();
      }

      #foo.thrift
      include "bar.thrift"
      namespace rb abc
      service Foo extends bar.Bar {
      void doit();
      }

      Client and processor stubs for foo.thrift do not take into account bar.thrift's namespace.

      module Abc; module Foo;
      class Client < Bar::Client; end
      class Processor < Bar::Processor; end
      end; end

      Attachments

        1. thrift-454.patch
          0.9 kB
          Michael Stockton

        Activity

          People

            michaelstockton Michael Stockton
            michaelstockton Michael Stockton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: