Content-Length: 299174 | pFad | https://github.com/notion-dotnet/notion-sdk-net/pull/429

CD Fix/serialization by mzahor · Pull Request #429 · notion-dotnet/notion-sdk-net · GitHub
Skip to content

Fix/serialization #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 12, 2025
Merged

Conversation

mzahor
Copy link
Contributor

@mzahor mzahor commented Mar 28, 2025

Description

Fixes several issues with serialization that we encountered in production.
I think it fixes #425 and #424

Fixes # (issue)

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

  • Tested manually in our product

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

@mzahor mzahor force-pushed the fix/serialization branch from cba3a3e to 954c042 Compare March 28, 2025 08:23
Copy link
Contributor

@Copilot 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 7 out of 7 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

Src/Notion.Client/Models/PropertyValue/RollupPropertyValue.cs:38

  • [nitpick] Consider using a fully qualified name (DatePropertyValue.Date) for clarity and to avoid ambiguity with potential other Date types.
public Date Date { get; set; }

Src/Notion.Client/Models/PropertyValue/DateCustomConverter.cs:1

  • The new custom date converter introduces important serialization logic that does not appear to have unit tests. Please add tests to ensure the conversion behaves as expected.
using System;

@KoditkarVedant KoditkarVedant merged commit 88664a3 into notion-dotnet:main Apr 12, 2025
6 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
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/notion-dotnet/notion-sdk-net/pull/429

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy