Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transpilation error from a library #192

Open
imclint21 opened this issue Jun 9, 2024 · 0 comments
Open

Transpilation error from a library #192

imclint21 opened this issue Jun 9, 2024 · 0 comments

Comments

@imclint21
Copy link

imclint21 commented Jun 9, 2024

Hi,

I've an issue with Tapper:

System.InvalidOperationException: HypeProxy.SharedModels.Constants.SeverityLevels is not supported.

I currently use a type that is in a NuGet library, but the class contain the Tapper attribute.

// Decompiled with JetBrains decompiler
// Type: HypeProxy.SharedModels.Constants.SeverityLevels
// Assembly: SharedModels, Version=3.1.5.0, Culture=neutral, PublicKeyToken=null
// MVID: 8C1328F9-688D-4BD3-AF99-4D9E62E5712D
// Assembly location: /Users/me/.nuget/packages/hypeproxy-shared-models/3.1.5/lib/net8.0/SharedModels.dll

using System.Text.Json.Serialization;
using Tapper;

#nullable disable
namespace HypeProxy.SharedModels.Constants
{
  [TranspilationSource]
  [JsonConverter(typeof (JsonStringEnumConverter))]
  public enum SeverityLevels
  {
    Trace,
    Information,
    Warning,
    Error,
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant