-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
[FEATURE] The future of glee as a framework #828
Comments
@KhudaDad414 what's the update, how do we proceed on this issue? |
@oviecodes I am currently waiting for some feedback from the community. Maybe we can discuss it in the DX working group. |
I like the idea of removing file-based routing, as by removing it we can use glee on the browser as well. glee.use(new WSServerAdapter({}: AdapterOptions)) I think we should use some adapters out of the box, and the user can over-write them or add new adapters, so no idea to create a mono-repo. |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Are there any plans to revive GLEE ? |
Context:
following #795
Glee is a great tool for API-first development, but it hasn't gained much traction. I believe the issues are mostly::
Proposed Solution:
Get Rid of File-based routing: To be honest, I don't see why we are forcing users to have
functions
andlifecycles
folders and follow a rigid file-based operation handlers structure.Frameworks like
Next.js
use folders since they have a good excuse for it, (ie, file-based routing) but Glee is more likeExpress.js
, at the end user only needs to pass operation handlers and we take care of the rest.Adapters should be separate packages: By having adapters as separate packages their development can be more streamlined, and they can be maintained by their respective contributors. plus user can write their adapter and plug it in.
It will help us run glee in the browser as well as the node environment, given the provided adapter supports it.
How should it look like:
an example demonstrating how the glee interface should look like:
Adapters are required to Extend this class:
Technical changes:
The text was updated successfully, but these errors were encountered: