Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
private/apigen: Don't allow certain types for Request/Response
We cannot map certain types to TypeScript, hence we verify them in the Endpoint.Validate method. Even some types could be somehow mapped, we don't want to add more complexity or allow types that don't make sense to be for a request or response. Change-Id: I51ecee286e637b1160e967d77f9ce6c7403ddfdc
- Loading branch information
1 parent
956109a
commit 71c9547
Showing
2 changed files
with
53 additions
and
0 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