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(middleware): add response extractor. #816

Merged
merged 9 commits into from
Oct 8, 2024

Conversation

andysim3d
Copy link
Collaborator

@andysim3d andysim3d commented Sep 26, 2024

[Closes/Fixes] #812

Proposed Changes

  • impl a reponse code extractor. choose to use string to represent the response code because the value range various from HTTP(u16) to grpc(i32) to provider(i64). worries there will be wider range in the future so choose string here.

@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch 3 times, most recently from ba6d2d0 to ba1f0c6 Compare September 26, 2024 20:00
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch 6 times, most recently from 2d289da to 8306857 Compare October 2, 2024 19:39
@andysim3d andysim3d requested a review from dancoombs October 2, 2024 20:25
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch from 8306857 to 969bfbc Compare October 4, 2024 21:16
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch 2 times, most recently from ae9b9d7 to 8cb8bd5 Compare October 7, 2024 19:45
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch from 8cb8bd5 to b762d96 Compare October 7, 2024 20:55
Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch from b762d96 to 3598104 Compare October 8, 2024 13:55
bin/rundler/Cargo.toml Outdated Show resolved Hide resolved
@andysim3d andysim3d requested a review from dancoombs October 8, 2024 17:33
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch from 30cd840 to 1aaa9ee Compare October 8, 2024 17:35

mockall = {workspace = true, optional = true }

[dev-dependencies]
rundler-types = { workspace = true, features = ["test-utils"] }
alloy-primitives = { workspace = true, features = ["rand"] }
cargo-husky = { version = "1", default-features = false, features = ["user-hooks"] }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't this be cargo-husky.workspace = true

@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch from 1aaa9ee to 4e8cc01 Compare October 8, 2024 18:47
@andysim3d andysim3d merged commit 81d88be into feat/v0.4 Oct 8, 2024
8 checks passed
@andysim3d andysim3d deleted the andy/repsonse-extractor branch October 8, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants