Replies: 2 comments 1 reply
-
I can see the advantages of having these definitions "somewhere", but it's unclear what exactly you are trying to propose here. Where exactly should these constants be generated? How would they be controlled? Where does the information for these constants come from? |
Beta Was this translation helpful? Give feedback.
-
Hey! Thanks for taking the time.
Do you have info or ideas on this? I understand this doesn't sound realizable. Are there any plans to "incorporate migrations code more into Diesel"? Or are migrations meant to always be written in plain SQL? I'm thinking that for this to be able to work means finding a way to add more (enough) info to the |
Beta Was this translation helpful? Give feedback.
-
I'd like to be able to activate some option to obtain const strings in the generated modules. These strings would be for example:
or any other naming scheme... My main point is to never having to copy/paste such strings when I'm using
on_constraint("..")
.Beta Was this translation helpful? Give feedback.
All reactions