Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom prefixes of generics and interfaces #292

Open
G-Rath opened this issue Oct 13, 2023 · 2 comments
Open

Support custom prefixes of generics and interfaces #292

G-Rath opened this issue Oct 13, 2023 · 2 comments

Comments

@G-Rath
Copy link
Contributor

G-Rath commented Oct 13, 2023

We have a convention that generics should either be a single letter or start with two uppercase letters e.g. either T or TKey; I also know some teams have the convention of prefixing their interfaces with I.

It would be great if we could pass something like --prefix-generics=T and --prefix-interface=I to facilitate this

@marcolink
Copy link
Collaborator

Hi @G-Rath,
Would you be interested in opening a PR for it?
There is a central point where we compute all module and entity names.

@G-Rath
Copy link
Contributor Author

G-Rath commented Oct 27, 2023

@marcolink sorry for not getting back sooner - I did have a go at implementing this after opening the issue but found its not as straightforward as it might seem; however when writing this out I realised how I should be able to simplify my implementation so I should hopefully have a PR up shortly :)

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

No branches or pull requests

2 participants