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

client and processor do not inherit from the proper namespace scope

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1
    • Component/s: Ruby - Compiler
    • Labels:
      None
    • Patch Info:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: