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 6 times, most recently from 2d289da to 8306857 Compare October 2, 2024 19:39
@andysim3d andysim3d force-pushed the andy/repsonse-extractor branch 2 times, most recently from ae9b9d7 to 8cb8bd5 Compare October 7, 2024 19:45
Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
bin/rundler/Cargo.toml Outdated Show resolved Hide resolved

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 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