Skip to content

Chore/refactor production code 35#50

Merged
jaybarden1 merged 3 commits into
mainfrom
chore/refactor-production-code-35
May 28, 2026
Merged

Chore/refactor production code 35#50
jaybarden1 merged 3 commits into
mainfrom
chore/refactor-production-code-35

Conversation

@jaybarden1

@jaybarden1 jaybarden1 commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Refactor some of the production code and update CLAUDE.md & rules

Type of change

  • Feature
  • Bug fix
  • Refactor
  • CI/CD
  • Documentation
  • Maintenance

Related issues / links

Closes #35

How was this tested?

  • Unit tests added/updated
  • Manual validation
  • Not applicable

Impacted areas

All areas


TDD Checklist (required)

  • Builds locally
  • Tests pass (dotnet test)
  • No new analyzer warnings
  • Public API changes reviewed
  • Documentation updated (if applicable)
  • Not applicable

How to run tests locally

# Restore and run tests
dotnet restore AStar.Dev.slnx
dotnet test --verbosity normal

Notes for reviewers

  • Ensure CI passed for all OS runners where configured.

jaybarden1 and others added 3 commits May 27, 2026 13:32
Merge GetFirstFolderPageAsync/GetNextFolderPageAsync into single
GetFolderPageAsync(string? nextLink), collapse two GetFoldersFromPagesAsync
overloads into one nullable-accumulator method, inline GetDriveFoldersAsync,
drop Children() helper, and add GraphClient type alias.

Codify the three emerging patterns in c-sharp-code-style.md (using alias,
nullable accumulator over overload pair, inline single-use wrapper) and
replace the Getting root folders prose in onedrive-graph.md with concrete
code examples from the refactored GraphService.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jaybarden1 jaybarden1 requested a review from a team May 28, 2026 10:11
@jaybarden1 jaybarden1 enabled auto-merge (squash) May 28, 2026 10:11
@github-actions

Copy link
Copy Markdown

Test results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit f8e46e9. ± Comparison against base commit 22f9fb2.

@jaybarden1 jaybarden1 merged commit f182e8a into main May 28, 2026
5 of 6 checks passed
@jaybarden1 jaybarden1 deleted the chore/refactor-production-code-35 branch May 28, 2026 10:15
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.

Refactor production code to use more functional style

2 participants