-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #271 from well-typed/edsko/any
Test support for `Any`
- Loading branch information
Showing
14 changed files
with
755 additions
and
38 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# OPTIONS_GHC -Wno-orphans #-} | ||
|
||
module Proto.API.Ping ( | ||
|
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,23 @@ | ||
{-# OPTIONS_GHC -Wno-orphans #-} | ||
|
||
module Proto.API.TestAny ( | ||
Reverse | ||
|
||
-- * Re-exports | ||
, module Proto.TestAny | ||
) where | ||
|
||
import Network.GRPC.Common | ||
import Network.GRPC.Common.Protobuf | ||
|
||
import Proto.TestAny | ||
|
||
{------------------------------------------------------------------------------- | ||
TestAnyService | ||
-------------------------------------------------------------------------------} | ||
|
||
type Reverse = Protobuf TestAnyService "reverse" | ||
|
||
type instance RequestMetadata (Protobuf TestAnyService meth) = NoMetadata | ||
type instance ResponseInitialMetadata (Protobuf TestAnyService meth) = NoMetadata | ||
type instance ResponseTrailingMetadata (Protobuf TestAnyService meth) = NoMetadata |
Oops, something went wrong.