Skip to content

Namespace/Class collisions with C# compiler in DatatypesReflection #26

@saltatory

Description

@saltatory

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions