Skip to content

Commit

Permalink
Merge pull request #54 from KinsonDigital/preview/v1.0.0-preview.10
Browse files Browse the repository at this point in the history
🚀Preview Release
  • Loading branch information
CalvinWilkinson authored Jan 5, 2023
2 parents 30867b9 + 763906e commit 7b7251a
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Carbonate/Carbonate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<Nullable>enable</Nullable>

<!--Update this for production and preview releases-->
<Version>1.0.0-preview.9</Version>
<Version>1.0.0-preview.10</Version>

<!--Update this for production and preview releases-->
<FileVersion>1.0.0-preview.9</FileVersion>
<FileVersion>1.0.0-preview.10</FileVersion>

<!--
DO NOT UPDATE THIS FOR PREVIEW RELEASES!!
Expand Down
14 changes: 14 additions & 0 deletions Carbonate/IPullReactable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// <copyright file="IPullReactable.cs" company="KinsonDigital">
// Copyright (c) KinsonDigital. All rights reserved.
// </copyright>

namespace Carbonate;

using Core;

/// <summary>
/// Defines a provider for pull-based responses.
/// </summary>
public interface IPullReactable : IReactable<IRespondReactor>, IPullable
{
}
14 changes: 14 additions & 0 deletions Carbonate/IPushReactable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// <copyright file="IPushReactable.cs" company="KinsonDigital">
// Copyright (c) KinsonDigital. All rights reserved.
// </copyright>

namespace Carbonate;

using Core;

/// <summary>
/// Defines a provider for push-based notifications.
/// </summary>
public interface IPushReactable : IReactable<IReceiveReactor>, IPushable
{
}
6 changes: 2 additions & 4 deletions Carbonate/PullReactable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ namespace Carbonate;
using Core;
using Services;

/// <summary>
/// Defines a provider for pull-based responses.
/// </summary>
public sealed class PullReactable : ReactableBase<IRespondReactor>, IPullable
/// <inheritdoc cref="IPullReactable"/>
public sealed class PullReactable : ReactableBase<IRespondReactor>, IPullReactable
{
private readonly ISerializerService serializerService;

Expand Down
6 changes: 2 additions & 4 deletions Carbonate/PushReactable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ namespace Carbonate;
using Core;
using Services;

/// <summary>
/// Defines a provider for push-based notifications.
/// </summary>
public sealed class PushReactable : ReactableBase<IReceiveReactor>, IPushable
/// <inheritdoc cref="IPushReactable"/>
public sealed class PushReactable : ReactableBase<IReceiveReactor>, IPushReactable
{
private readonly ISerializerService serializerService;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<h1 align="center" style='color:mediumseagreen;font-weight:bold'>
Carbonate Preview Release Notes - v1.0.0-preview.10
</h1>

<h2 align="center" style='font-weight:bold'>Quick Reminder</h2>

<div align="center">

As with all software, there is always a chance for issues and bugs, especially for preview releases, which is why your input is greatly appreciated. 🙏🏼
</div>

---

<h2 style="font-weight:bold" align="center">New Features ✨</h2>

1. [#51](https://github.com/KinsonDigital/Carbonate/issues/51) - Added the 2 interfaces below:
>💡The classes `PushReactable` and `PullReactable` now inherit these interfaces respectively which
> give the ability to use the interface types instead of the class types and still get access to the push and pull methods. This also increases testability and mocking.
- `IPushReactable`
- `IPullReactable`

0 comments on commit 7b7251a

Please sign in to comment.