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

Jdl doesn't generate entities anymore #1550

Closed
1 task done
nicolas63 opened this issue Jan 12, 2025 · 2 comments · Fixed by #1559
Closed
1 task done

Jdl doesn't generate entities anymore #1550

nicolas63 opened this issue Jan 12, 2025 · 2 comments · Fixed by #1559
Labels
bug 🐞 Something isn't working

Comments

@nicolas63
Copy link
Member

Overview of the issue

Jdl doesn't generate entities anymore

Reproduce the error

Generate an app and try to import a jdl with command

 jhipster-dotnetcore jdl .\app.jdl
JHipster Version(s)

8.8

Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
@nicolas63 nicolas63 added the bug 🐞 Something isn't working label Jan 12, 2025
@nicolas63
Copy link
Member Author

@mshima can you help me on this error ?

@nicolas63
Copy link
Member Author

the error is :

WARNING! The paginate option is deprecated, please use pagination instead.
ERROR! An error occured while running jhipster:jdl#parseJDL
ERROR! ERROR! The passed database type must either be 'sql', 'mysql', 'mariadb', 'postgresql', 'oracle', 'mssql', 'mongodb', 'couchbase', 'neo4j' or 'cassandra'
Error: The passed database type must either be 'sql', 'mysql', 'mariadb', 'postgresql', 'oracle', 'mssql', 'mongodb', 'couchbase', 'neo4j' or 'cassandra'
    at Object.getIsType

this error appear when we use sqllite because the database type is not in this list
and it work on the ci because in the prodDatabaseType we have the value mysql
In the old version we have this tricks (https://github.com/jhipster/jhipster-dotnetcore/blob/v3.9.1/generators/server/index.js#L92)

@mshima have you a better solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant