Skip to content

Naming generated types to avoid duplicate names in model/domain layer. #20

Answered by paulbakker
marceloverdijk asked this question in Q&A
Discussion options

You must be logged in to vote

We have a broad variety of use cases; some teams getting data from gRPC services, some loading from a relational database, some other data store, or using some sort of mapper, etc..

Because of this variety we haven't seen an issue with the naming in a consistent way. I think when names overlap the FQN is used.

That doesn't mean we can't add a feature to solve this better. I think it makes sense to add a prefix/postfix setting to codegen. It does seem like a fairly common issue.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marceloverdijk
Comment options

@marceloverdijk
Comment options

@Ramblurr
Comment options

Answer selected by marceloverdijk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants