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

[c#, improvement]: add explicit namespaces to custom config #4144

Conversation

dcb6
Copy link
Contributor

@dcb6 dcb6 commented Jul 29, 2024

The C# generator now supports configuration to match namespaces directly to the full path of a file.
This can lead to more imports being required to use the SDK, but can be helpful to avoid collisions.

- name: fernapi/fern-csharp-sdk
  version: 0.3.2
  config:
    explicit-namespaces: true

@dcb6 dcb6 requested a review from dsinghvi as a code owner July 29, 2024 18:44

#nullable enable

namespace SeedExhaustive.NoAuth;
Copy link
Contributor Author

@dcb6 dcb6 Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

example of diff here
previously would've been just

namespace SeedExhaustive;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants