Skip to content

Conversation

@ChuckNovice
Copy link
Owner

@ChuckNovice ChuckNovice commented Jan 28, 2026

Summary

  • Simplified method signatures: CreateRecurrenceAsync and CreateOccurrenceAsync now accept individual parameters (with organization and resourcePath first) instead of request objects
  • Deleted request objects: Removed RecurrenceCreate.cs and OccurrenceCreate.cs along with their FluentValidation validators
  • Added CalendarEntryType enum: New enum (Standalone, Virtualized, Recurrence) for clear entry type identification
  • Renamed OccurrenceOriginal to OriginalDetails: More intuitive naming for override tracking
  • Updated README examples: Show RecurrencePattern from Ical.Net instead of hand-written RRule strings, using local time which is more natural for users
  • Static validation methods: Replaced FluentValidation validators with static Validator.ValidateRecurrenceCreate and Validator.ValidateOccurrenceCreate methods

Test plan

  • dotnet build compiles successfully
  • dotnet test --filter 'Category!=Integration' - all 131 unit tests pass
  • Verify README examples are clear and accurate
  • Verify new API signatures are intuitive

🤖 Generated with Claude Code

ChuckNovice and others added 3 commits January 27, 2026 20:07
Breaking changes:
- CreateRecurrenceAsync now accepts individual parameters instead of RecurrenceCreate object
- CreateOccurrenceAsync now accepts individual parameters instead of OccurrenceCreate object
- Renamed GetAsync to GetOccurrencesAsync
- Renamed UpdateAsync to UpdateOccurrenceAsync
- Renamed DeleteAsync to DeleteOccurrenceAsync
- Added GetRecurrencesAsync to retrieve recurrence patterns
- Added DeleteRecurrenceAsync(organization, resourcePath, recurrenceId)
- Removed RecurrenceOccurrenceDetails, added CalendarEntry.Original and CalendarEntry.EntryType
- Renamed OccurrenceOriginal to OriginalDetails
- Added CalendarEntryType enum (Standalone, Virtualized, Recurrence)
- Added CalendarEntry.IsOverridden computed property

API improvements:
- README examples now show RecurrencePattern usage from Ical.Net
- Examples use DateTime.Now (local time) which is more natural for users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove usage examples (kept in main README)
- Remove index documentation
- Remove transaction samples
- Apply code formatting

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ChuckNovice ChuckNovice merged commit 445d33c into main Jan 28, 2026
2 checks passed
@ChuckNovice ChuckNovice deleted the feature/api-usability-improvements branch January 28, 2026 01:18
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.

2 participants