Skip to content

Document date and datetime field types in README#44

Merged
Fivell merged 6 commits intomainfrom
refactor/dry-cleanup
Mar 13, 2026
Merged

Document date and datetime field types in README#44
Fivell merged 6 commits intomainfrom
refactor/dry-cleanup

Conversation

@Fivell
Copy link
Member

@Fivell Fivell commented Mar 13, 2026

No description provided.

@Fivell Fivell force-pushed the refactor/dry-cleanup branch from 645f8ae to 69701e6 Compare March 13, 2026 16:36
@sonarqubecloud
Copy link

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents the distinction between date-only and datetime field types in the SDK's README, and makes two code changes to align the resource model with the API: removing createdAt from EncryptedFile (not returned by the API) and changing CapacityPool.renewDate from LocalDate to String.

Changes:

  • Added a "Date and Datetime Fields" section to README documenting which fields use OffsetDateTime, LocalDate, or String
  • Removed unused createdAt field from EncryptedFile resource
  • Changed CapacityPool.renewDate type from LocalDate to String

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
README.md New documentation section explaining date/datetime field type conventions
src/main/java/com/didww/sdk/resource/EncryptedFile.java Removed createdAt field not returned by the API
src/main/java/com/didww/sdk/resource/CapacityPool.java Changed renewDate from LocalDate to String, removed unused import

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Fivell Fivell merged commit 510a856 into main Mar 13, 2026
9 checks passed
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