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

feat: enable request and reply for nats #170

Merged
merged 13 commits into from
Dec 21, 2024
Merged

Conversation

jonaslagoni
Copy link
Contributor

@jonaslagoni jonaslagoni commented Dec 8, 2024

Because request and reply can only be defined through the operations in AsyncAPI, it means iterating channels is not enough, this PR refactors that logic.

Features:

  • Enable request and reply operations for NATS protocol
  • Enabled conditional channel functions based on functionTypeMapping
  • Enable the option of reversing operations through asyncapiReverseOperations

Fixes:

  • Ensure messages for operations and reply are generated

Chores:

  • Moved logic around where it made sense to improve maintainability

Fixes #48
Fixes #46
Initial steps for #52

Copy link

netlify bot commented Dec 8, 2024

Deploy Preview for the-codegen-project canceled.

Name Link
🔨 Latest commit 54fc0ce
🔍 Latest deploy log https://app.netlify.com/sites/the-codegen-project/deploys/676704b0bcd57800089764cd

@jonaslagoni jonaslagoni changed the title feat: enable request and reply feat: enable request and reply for nats Dec 13, 2024
@jonaslagoni jonaslagoni marked this pull request as ready for review December 15, 2024 18:57
@jonaslagoni jonaslagoni merged commit 4f12190 into main Dec 21, 2024
11 checks passed
@jonaslagoni jonaslagoni deleted the enable_request_reply branch December 21, 2024 18:32
@jonaslagoni
Copy link
Contributor Author

🎉 This PR is included in version 0.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NATS TS Request support Add NATS TS Reply support
2 participants