Skip to content

add: gateway custom response data - #3505

Closed
seth-shi wants to merge 2 commits into
zeromicro:masterfrom
seth-shi:feature/resp-api-data
Closed

add: gateway custom response data#3505
seth-shi wants to merge 2 commits into
zeromicro:masterfrom
seth-shi:feature/resp-api-data

Conversation

@seth-shi

Copy link
Copy Markdown

rpc response:

{
   "user": null
}

gateway add custom field to:

{
   "code": 200,
    "data": rpcData
}

@codecov

codecov Bot commented Aug 17, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.30%. Comparing base (b22ad50) to head (904cb21).
Report is 385 commits behind head on master.

Additional details and impacted files
Files Coverage Δ
gateway/internal/eventhandler.go 100.00% <100.00%> (ø)
gateway/server.go 69.42% <100.00%> (+0.51%) ⬆️

... and 2 files with indirect coverage changes

@lvphps lvphps left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@kevwan
kevwan force-pushed the feature/resp-api-data branch from e225cf3 to 904cb21 Compare September 16, 2023 11:00
@kevwan kevwan added the area/gateway Categorizes issue or PR as related to gateway. label Oct 23, 2023
@seth-shi seth-shi closed this Aug 21, 2024
@seth-shi
seth-shi deleted the feature/resp-api-data branch August 21, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/gateway Categorizes issue or PR as related to gateway.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants