google / google/fhir

Namespace/Class collisions with C# compiler in DatatypesReflection

Open
#26 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
955
Forks
207
Avg merge
10h 4m
Merged PRs (30d)
4

Description

Both `proto/google/fhir/proto/r4/core/datatypes.proto` and `proto/google/fhir/proto/r4/core/profiles/datatypes.proto` generate a class named `DatatypesReflection` as part of the standard output from `protoc`. Both `*.proto` files use the same package `google.fhir.r4.core`. This results in a duplicate name collision in the generated output.

This problem disappears if the `datatypes.proto` file is moved into the `google.fhir.r4.core.profiles` namespace.

Tho' I am not certain if that causes any other unrelated issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.