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

Compiled partial classes in different namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0
    • None
    • netcore - Compiler
    • None
    • Important

    Description

      Cannot use compiled source code for netcore target, it generates partial classes in different namespaces, one as nested classes of API class, and another - in separate file. But in c# these two classes are not part of one and have two different types:

      1:

      namespace BetaApi
      {

      public partial class PoolGetResult : TBase
      {

      ....

      2:

      namespace BetaApi
      {
      public partial class API
      {

      ...

      public partial class PoolGetResult : TBase
      {

      ...

       

      See attached files

      Attachments

        1. beta_api.thrift
          2 kB
          Sergey T
        2. API.cs
          70 kB
          Sergey T
        3. PoolGetResult.cs
          7 kB
          Sergey T

        Activity

          People

            Unassigned Unassigned
            netstep Sergey T
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: