Skip to content

Conversation

@MathoMathiasCamara
Copy link
Contributor

Given that we are using gRPC in more than one project/repos. @seveneleven proposed to have a package for the common components to avoid duplication in future project.

@MathoMathiasCamara MathoMathiasCamara changed the title add gRPC extensions an configuration class Draft: add gRPC extensions an configuration class Jun 13, 2025
Copy link
Member

@dbeuchler dbeuchler left a comment

Choose a reason for hiding this comment

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

I'm questioning whether it is truly necessary for MORYX to provide these kinds of wrapper functions. We had similar functionality in the past but removed most of it, primarily because wrapping tends to obscure important details and limits the ability to apply custom adjustments. This can lead to reduced transparency and flexibility in implementation.

/// <summary>
/// Whether to use TLS or not
/// </summary>
[Description("Wheter to use TLS or not"), DefaultValue(true)]
Copy link
Member

Choose a reason for hiding this comment

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

DefaultValue = true is not a good idea because you never cannot set it to false

Comment on lines +20 to +21
<PackageReference Include="Grpc.Net.Client" />
<PackageReference Include="Grpc.Core" />
Copy link
Member

Choose a reason for hiding this comment

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

MORYX does not have any package references except dotnet and Newtonsoft (should be replaced by System.Text.Json later). If this should really part of the MORYX-Framework, this should be part of a separate package to keep the dependencies as minimal as possible

Comment on lines +52 to +53
<PackageReference Update="Grpc.Core" Version="2.46.6" />
<PackageReference Update="Grpc.Net.Client" Version="2.71.0" />
Copy link
Member

Choose a reason for hiding this comment

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

Is 2.46/2.71 really necessary, or is 2.0.0 also enough? Let the developers decide which version is necessary.

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

Successfully merging this pull request may close these issues.

2 participants