-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked fusion configuration to use observer. (#6310)
- Loading branch information
1 parent
383814e
commit 41979c5
Showing
25 changed files
with
631 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/HotChocolate/Fusion/src/Core/Clients/IGraphQLClientFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using HotChocolate.Fusion.Metadata; | ||
|
||
namespace HotChocolate.Fusion.Clients; | ||
|
||
/// <summary> | ||
/// Represents a factory for creating <see cref="IGraphQLClient"/> instances. | ||
/// </summary> | ||
public interface IGraphQLClientFactory | ||
{ | ||
/// <summary> | ||
/// Creates a new <see cref="IGraphQLClient"/> instance. | ||
/// </summary> | ||
/// <param name="configuration"></param> | ||
/// <returns></returns> | ||
IGraphQLClient CreateClient(HttpClientConfiguration configuration); | ||
} |
61 changes: 0 additions & 61 deletions
61
src/HotChocolate/Fusion/src/Core/DependencyInjection/FileWatcherTypeModule.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.