Skip to content

Conversation

@KoditkarVedant
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #413 and #414

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
@KoditkarVedant KoditkarVedant requested a review from Copilot April 12, 2025 19:45
Copy link
Contributor

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.

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

Comments suppressed due to low confidence (2)

Src/Notion.Client/Models/Database/RichText/RichTextMention.cs:28

  • Verify that removing the [JsonProperty("date")] attribute is intentional and that the JSON serialization/deserialization still maps the 'date' field correctly to the new Date type.
public Date Date { get; set; } 

Src/Notion.Client/Api/Databases/RequestParams/DatabasesCreateParameters/MentionInput.cs:20

  • Ensure that the removal of the [JsonProperty("date")] attribute is deliberate so that request payloads still correctly map the date field according to the desired JSON naming conventions.
public Date Date { get; set; } 
@KoditkarVedant KoditkarVedant linked an issue Apr 12, 2025 that may be closed by this pull request
@KoditkarVedant KoditkarVedant force-pushed the 413-fix-date-mention-creation-and-deserialization branch from 1d12e3a to 3ea8bc4 Compare April 12, 2025 19:48
@KoditkarVedant KoditkarVedant merged commit 0c6c67a into main Apr 12, 2025
6 checks passed
@KoditkarVedant KoditkarVedant deleted the 413-fix-date-mention-creation-and-deserialization branch April 12, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants