-
-
Notifications
You must be signed in to change notification settings - Fork 247
fix(client-ofetch): fix missing credentials property support #2699
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
Conversation
|
|
@Matodor is attempting to deploy a commit to the Hey API Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brolnickij why doesn't this use spread? Seems quite brittle to do it this way
@mrlubos in openapi-ts/packages/openapi-ts/src/plugins/@hey-api/client-ofetch/bundle/client.ts Lines 51 to 120 in 612d9c1
openapi-ts/packages/openapi-ts/src/plugins/@hey-api/client-ofetch/bundle/utils.ts Lines 314 to 343 in 612d9c1
if we return for example, when ofetch updates, any of those internal keys can become a public ofetch option with a different type, and then we end up sending to so in my view this filter / layer is needed, because it makes sure only ofetch-friendly data goes out (plus the normalization I mentioned above) what do you think..? |
@brolnickij No issue with that, but afraid more fields might be missing. Do you know if this is the only one that was missed? Does the ofetch API ever change? That could also cause issues, but I'm less worried about that |
i went through
ofetch is pretty stable, but no one knows what the next release will bring.. |
No description provided.