tailcallhq / tailcall

High Performance GraphQL Runtime
https://tailcall.run
Apache License 2.0
1.18k stars 209 forks source link

refactor: Split tc.rs for each command #2289

Closed Anshgrover23 closed 5 days ago

Anshgrover23 commented 5 days ago

/claim #2281 Summary: Refactored tc.rs into separate command modules within tc directory.

Issue Reference(s): Fixes #2281

Details:

Created individual module files (check.rs, gen.rs, helpers.rs, init.rs, start.rs) within the tc directory. Moved corresponding command implementations into their respective files for better organization. Updated tc/mod.rs to declare each module (check, gen, helpers, init, start). Updated main.rs and other relevant files to import and use the tc module correctly. Build & Testing:

I ran cargo test successfully. I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Here's a suggested PR description for your changes:

Summary: Refactored tc.rs into separate command modules within tc directory.

Issue Reference(s): Fixes #2281

Details:

Created individual module files (check.rs, gen.rs, helpers.rs, init.rs, start.rs) within the tc directory. Moved corresponding command implementations into their respective files for better organization. Updated tc/mod.rs to declare each module (check, gen, helpers, init, start). Updated main.rs and other relevant files to import and use the tc module correctly. Build & Testing:

I ran cargo test successfully. I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check. Checklist:

I have performed a self-review of my code.

beelchester commented 5 days ago

Copy of #2286

Anshgrover23 commented 5 days ago

no i have made my own

tusharmath commented 5 days ago

Closing in favour of https://github.com/tailcallhq/tailcall/pull/2286

Anshgrover23 commented 5 days ago

but why i have made my mehnat

Anshgrover23 commented 5 days ago

@tusharmath see there is errors in his prs

tusharmath commented 5 days ago

@Anshgrover23 https://tailcall.run/docs/contributors/bounty/