grpc/test/csharp/codegen
tony d534b4ad7a
[CSHARP] Add base_namespace experimental option to C# plugin (#32636)
Added `base_namespace` experimental option to `grpc_csharp_plugin` as
this has been requested several times by
people not using `Grpc.Tools` to generate their code - see
https://github.com/grpc/grpc/issues/28663

Notes:
- it should not be used with `Grpc.Tools`. That has a different way of
handling duplicate proto file names in different directories. Using this
option will break those builds. It can only be used on the `protoc`
command line.
- it uses common code with the `base_namespace` option for C# in
`protoc`, which unfortunately has a slightly different name mangling
algorithm for converting proto file names to C# camel case names. This
only affects files with punctation or numbers in the name. This should
not matter unless you are expecting specific file names
- See
https://protobuf.dev/reference/csharp/csharp-generated/#compiler_options
for an explanation of this option
2023-04-27 08:48:32 -07:00
..
basenamespace/proto [CSHARP] Add base_namespace experimental option to C# plugin (#32636) 2023-04-27 08:48:32 -07:00
deprecated/proto [csharp proto plugin] Apply Obsolete attribute to deprecated services and methods in C# generated code (#32414) 2023-04-26 11:25:22 -07:00
simple [csharp proto plugin] Apply Obsolete attribute to deprecated services and methods in C# generated code (#32414) 2023-04-26 11:25:22 -07:00
BUILD [CSHARP] Add base_namespace experimental option to C# plugin (#32636) 2023-04-27 08:48:32 -07:00
csharp_codegen_base_namespace_test.sh [CSHARP] Add base_namespace experimental option to C# plugin (#32636) 2023-04-27 08:48:32 -07:00
csharp_codegen_deprecated_test.sh [csharp proto plugin] Apply Obsolete attribute to deprecated services and methods in C# generated code (#32414) 2023-04-26 11:25:22 -07:00
csharp_codegen_simple_test.sh [csharp] Initial C# codegen tests. (#32734) 2023-04-19 13:20:24 +02:00