-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Should offical presets should be added as include options? #1397
Comments
Yes, it makes complete sense to hide the internal preset architecture. |
In which case would the user benefit from doing so @jonaslagoni ? 🤔 |
@kaushik-rishi because presets are such a central peace of functionality, hiding it away behind simple options means fewer people will know about it. On the other side, it simplifies the UX a lot. |
@jonaslagoni @kaushik-rishi what about introducing a more concise syntax, such as |
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 ❤️ |
Closing, as unless there is an overwhelming need for it to not add too many abstractions. |
Reason/Context
I am starting to be annoyed with having to do:
each time I want to include marshaling functions (general pain point across all presets and output languages, not specifically for TS ad marshalling).
I think it makes sense that we start to hide the underlying preset architecture, to improve the developer experience at least where possible. That would mean we reduce the code above to:
What do you think? would that improve the overall experience? Or is it better to force the user to use presets and get familiar with them?
The text was updated successfully, but these errors were encountered: