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

Allow customization of the Haskell name #1568

Open
parsonsmatt opened this issue Feb 11, 2025 · 0 comments
Open

Allow customization of the Haskell name #1568

parsonsmatt opened this issue Feb 11, 2025 · 0 comments

Comments

@parsonsmatt
Copy link
Collaborator

This popped up at work. We have a database table that is being replicated across two databases. Converting that table to mpsGeneric would be a huge PITA, and we don't want to do it, so instead we're going to read the same .persistentmodels file twice - once for the main DB and once for the replicated DB.

While this will do the right thing, the generated type will be identical namewise, and this may be confusing. We'd like to customize the name of the Haskell datatype, similar to how we customize the name of the SQL table.

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

1 participant