-
-
Notifications
You must be signed in to change notification settings - Fork 8
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: switching to axum, adding swagger UI #84
Conversation
WalkthroughThe recent updates transition the web server from the Actix to the Axum framework, enhancing routing and middleware capabilities. Key database methods related to epoch management have been removed to simplify the interface. New dependencies have been introduced for better API documentation and CORS handling, reflecting a focus on building robust web applications. Additionally, improvements in code readability and adjustments to epoch operation management signify a broader restructuring of the project's architecture and functionality. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant WebServer
participant Database
Client->>WebServer: Send request (e.g., /update-entry)
WebServer->>Database: Execute update operation
Database-->>WebServer: Return operation result
WebServer-->>Client: Send response with result
sequenceDiagram
participant OldServer
participant Client
participant OldDatabase
Client->>OldServer: Send request (e.g., /update-entry)
OldServer->>OldDatabase: Execute update operation
OldDatabase-->>OldServer: Return operation result
OldServer-->>Client: Send response with result
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (7)
Files skipped from review due to trivial changes (1)
Files skipped from review as they are similar to previous changes (1)
Additional comments not posted (19)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
* feat: operation queue * refactor and beginning test * progress * balls deep in redis debugging * no more deadlock but proof verification fails * test passes if we don't derive tree, but is tree state fucked then? * yanking out derive_tree * renaming Signable trait and method names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
src/utils.rs (1)
23-25
: Consider renaming to improve readability.The TODO comment suggests renaming
is_revoked
tois_not_revoked
for better readability.-/// TODO(@distractedm1nd): is_revoked > is_not_revoked, for readability
Part of #65
WIP. Still quite a few issues with the API
But now we have Swagger UI: