Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Nest Speakeasy SDK + add high-level wrapper classes. #9

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

philipaconrad
Copy link
Member

@philipaconrad philipaconrad commented Apr 11, 2024

This commit:

  • Moves the Speakeasy SDK generation down into the Api/SDK/ Styra/OpenApi folder.
  • Creates a higher-level Api.OPA Styra.OpaClient class that wrappers over the SDK for better control of types/errors, and for greater convenience to the user.
  • Modifies the Speakeasy configs + manually adds a top-level sln file for controlling the build.

This commit moves the Speakeasy SDK generation down into the `Api/SDK/`
folder, and creates a higher-level `Api.OPA` class that wrappers over it
for better control of types/errors, and for greater convenience to the
user.

Signed-off-by: Philip Conrad <[email protected]>
@philipaconrad philipaconrad added enhancement New feature or request speakeasy Involves Speakeasy configuration, artifacts, etc labels Apr 11, 2024
@philipaconrad philipaconrad self-assigned this Apr 11, 2024
@philipaconrad
Copy link
Member Author

I'll pop up the package name changes later and ping for re-review, once we've decided on what we want.

@philipaconrad philipaconrad marked this pull request as ready for review April 15, 2024 15:48
@philipaconrad philipaconrad requested a review from chendrix April 15, 2024 15:50
@philipaconrad philipaconrad merged commit 6b4f1ee into main Apr 15, 2024
4 checks passed
@philipaconrad philipaconrad deleted the philip/high-level-api branch April 15, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request speakeasy Involves Speakeasy configuration, artifacts, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants