You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thanks for great library!
Recently I started adding library to my pet project.
I created a config file; migrations, db and queries dirs.
Then I added several files with queries to tables and called the sql generate.
The CLI finished without any warning and errors; but successfully gens code for all models, but did not generate methods for working with the base.
For a long time I could not understand what the error was until I copied the example from the readme.
The problem was the forgotten space between the hyphens and the keyword name: (--name instead of -- name)
How do you think will be usefull to log warning message if files with qeries were found, but nothing was generated for them?
This discussion was converted from issue #736 on October 19, 2020 06:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, thanks for great library!
Recently I started adding library to my pet project.
I created a config file; migrations, db and queries dirs.
Then I added several files with queries to tables and called the
sql generate
.The CLI finished without any warning and errors; but successfully gens code for all models, but did not generate methods for working with the base.
For a long time I could not understand what the error was until I copied the example from the readme.
The problem was the forgotten space between the hyphens and the keyword name: (
--name
instead of-- name
)How do you think will be usefull to log warning message if files with qeries were found, but nothing was generated for them?
Beta Was this translation helpful? Give feedback.
All reactions