We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue is a draft. The approach is being refined and should not be implemented until after #73
Currently each method returns an Promise for a SeamHttpRequest which resolves to an object types using the route spec.
This is nice because the types provide the interface without additional codegen. This mostly helps TypeScript consumers.
However, other SDKs wrap all responses in a typed class by generating models. This SDK should follow the same pattern:
Instead of using a class, we may be able to get a similar result by passing the method args and return though the zod.parse methods.
class
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently each method returns an Promise for a SeamHttpRequest which resolves to an object types using the route spec.
This is nice because the types provide the interface without additional codegen. This mostly helps TypeScript consumers.
However, other SDKs wrap all responses in a typed class by generating models. This SDK should follow the same pattern:
Instead of using a
class
, we may be able to get a similar result by passing the method args and return though the zod.parse methods.The text was updated successfully, but these errors were encountered: