ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.26k stars 746 forks source link

Moved LocalDate/LocalTime to HotChocolate.Types and added LocalDateTime #7749

Open glen-84 opened 4 days ago

glen-84 commented 4 days ago

Summary of the changes (Less than 80 chars)

Closes #6420


LocalDate and LocalTime scalars moved

LocalDate and LocalTime have been moved from HotChocolate.Types.Scalars to HotChocolate.Types, and are therefore available without installing the additional package.

DateOnly and TimeOnly binding change

  • DateOnly is now bound to LocalDateType instead of DateType.
  • TimeOnly is now bound to LocalTimeType instead of TimeSpanType.
codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.33%. Comparing base (b521e35) to head (00cdb2e). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7749 +/- ## ========================================== - Coverage 74.34% 74.33% -0.01% ========================================== Files 2860 2862 +2 Lines 149841 149886 +45 Branches 17411 17417 +6 ========================================== + Hits 111395 111423 +28 - Misses 32647 32664 +17 Partials 5799 5799 ``` | [Flag](https://app.codecov.io/gh/ChilliCream/graphql-platform/pull/7749/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChilliCream) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ChilliCream/graphql-platform/pull/7749/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChilliCream) | `74.33% <ø> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChilliCream#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: