Comments (11)
@danielpetisme @joewhite101
I suggest to remove this feature from the 1.0.0 milestone. The effort needed seems to be too high.
For me, it makes sens to have a first release without reactive programming and define a plan for next version, adding this feature step by step.
WDYT?
from generator-jhipster-quarkus.
Thank you 👍🏻
These are great advice and starter points!
I'll start looking at the blueprint code and Quarkus.
I feel I should also declare that, I'm mostly familiar with JHipster generator code and Spring and am new to Quarkus framework.
from generator-jhipster-quarkus.
I can do this.
from generator-jhipster-quarkus.
The jhister cli already provides a reactive option.. we have only to add related templates for the generic app (for data layer we have to refer to the other issues)
from generator-jhipster-quarkus.
You right, is 100% templates.
Couple of pointers:
https://quarkus.io/guides/reactive-routes
https://quarkus.io/guides/reactive-sql-clients
Quarkus "reactivity" relies on Vert.x but there is a "callback-free" API for the Web layer so I propose to focus on this one first.
Ping me if you need help, I have couple of contacts.
from generator-jhipster-quarkus.
Moving to reactive is a major step.
Where web and service are quite easy to migrate, data is way more tricky.
As for now, Quarkus does not provide a "reactive" ORM. This means for the application developer to write the CRUD SQL statements manually and for a code generator like JHipster... well to actually generate those queries (which is basically the job of the ORM 🤔 ).
You get my +1 to postpone reactive to a post-1.0 realease. IMHO, concerning database access we should definitively wait for a native support from Quarkus or give a very high bounty.
from generator-jhipster-quarkus.
I'm totally aligned with that, let's remove from 1.0.0.
from generator-jhipster-quarkus.
Interested in working on this
from generator-jhipster-quarkus.
feel free @vivekmore
I think @danielpetisme already prepare the field by creating partials. Anyway, we should avoid the mess we have on the official JHipster project mixing reactive and not in the same templates (as most as possible).
from generator-jhipster-quarkus.
Thanks @avdev4j
I just wanted to make sure someone isn't already working on it.
In addition to the partials, could you share any information that could help me get started on this?
from generator-jhipster-quarkus.
Hi,
I started a long time ago but I crash my machine and lost the code (yes it happens in real life...).
Anycase, feel free to progress on this one.
A couple of advice:
1- isolate the imperative and reactive code in separate partials. I would recommend to isolate in a per method granularity (like list_imperative.ejs
and list_reactive.ejs
it's way easier to debug.
2- For now, do not try to have ordered imports, let the first prettier Java execution trigger at the code generation handle that for you
3- When using mutiny, queries are composable. I would suggest to made small human-readable queries and then compose them. JHipster Spring reactive tend to have a huge block that is hard to troubleshoot, please break down in smaller blocks.
4- Mutiny has no Uni implicit null filtering. If you want to prevent NPE, you need to eagerly filter the null value and throw the exception to fail fast.
Let me know if you need more guidance, I would do my best to help you.
from generator-jhipster-quarkus.
Related Issues (20)
- e2e test failure in application generated using imperative-ngx-oauth2-maven-mysql-caffeine.jdl
- Scheduled Native CI workflow jobs are failing with h2 dependency error
- Support Quarkus 2.16.1.Final version
- Upgrade Mongock dependency to v5.1.0 HOT 7
- Not able to run this blueprint HOT 5
- Unable to connect to Keycloak when running in a container
- Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './cli/utils' is not defined by "exports" in C:\Users\jpayneau\AppData\Roaming\npm\node_modules\generator-jhipster-quarkus\node_modules\generator-jhipster\package.json HOT 5
- Kotlin support? HOT 2
- `app.yml` docker file contains Spring specific environment properties to override configurations HOT 1
- Release v3.0 with Quarkus 3 support HOT 11
- Error when generate Jhipter and Quarkus in MacOS HOT 7
- "no file name or template provided" when importing from JDL file HOT 2
- Service classes in wrong package HOT 1
- Dependabot auto-merge needs workflows status requirements HOT 6
- ehcache caching option seems to not work HOT 1
- Error when generating a microservice application
- The build fails due to an error in your SCSS code. HOT 1
- Release 3.1.0 with JHipster 8.2 support HOT 4
- Classes not generated when creating a new microsservice application HOT 1
- CLI accepts any value as authentication type HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster-quarkus.