-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
rtk-query-codegen-openapi: use patched oazapfts for intersection type gen #2004
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
export type Dog = Animal & { | ||
dogUniqueProp?: string | null; | ||
}; |
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.
Currently, we don't generate this intersection and only do export type Dog = Animal
.
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit e804687:
|
✅ Deploy Preview for redux-starter-kit-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
size-limit report 📦
|
Could you publish that as a scoped package to npm? I'm not comfortable adding a dependency directly from github. |
ping - could you please take a look if this is still not upstream and publish that package? |
b1478e3
to
e804687
Compare
… gen (#2004) * Add test for intersection types, reference github commit for patched oazapfts * Use @rtk-query/oazapfts-patched and updated refs
I opened a PR over in oazapfts here: oazapfts/oazapfts#207. I'd prefer to not be blocked on them merging that PR or a similar one that is referenced in the linked PR. So this would allow us to patch this behavior for our users in the short term.Update
This now uses a patched version of oazapfts (@rtk-query/oazapfts-patched) located at https://github.com/rtk-incubator/oazapfts
Fixes #2002 #1940