-
Notifications
You must be signed in to change notification settings - Fork 194
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
fix: sozo build --typescript now properly orders contracts.gen.ts #3074
Conversation
Ohayo sensei! Here’s the detailed summary of the pull request: WalkthroughThe changes update the TypeScript writer in the Dojo bindgen crate. A new import for the Changes
Sequence Diagram(s)sequenceDiagram
participant Writer as TsFileContractWriter
participant Naming as naming::get_name_from_tag
participant Sort as Sorting Logic
Writer->>Writer: Collect functions list
loop For each function
Writer->>Naming: Retrieve contract name using function tag
Naming-->>Writer: Return contract name
Writer->>Writer: Form composite name (contract_function)
end
Writer->>Sort: Sort functions using composite names
Sort-->>Writer: Return sorted function list
Writer->>Writer: Write functions in new order
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🔇 Additional comments (2)
✨ Finishing Touches
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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3074 +/- ##
==========================================
- Coverage 57.49% 57.39% -0.11%
==========================================
Files 439 440 +1
Lines 59820 59971 +151
==========================================
+ Hits 34392 34418 +26
- Misses 25428 25553 +125 ☔ View full report in Codecov by Sentry. |
Description
Related issue
#2943
Summary by CodeRabbit