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

Export PartialSchema #217

Closed
marek-hanzal opened this issue Oct 20, 2023 · 4 comments
Closed

Export PartialSchema #217

marek-hanzal opened this issue Oct 20, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@marek-hanzal
Copy link

Hello,

I'm forced to export schema on type-level (because of generics). You have a lot of types already exported (like NullishSchema, ...), but one I'm missing is Partial$2 hidden in the library.

Would it be please possible to export it too?

Thank you!

Just usecase (WIP, you don't see anys)
image

I want to provide only Shape and Query, when Shape for update should be Partial (so here I'm asking for the missing type).

@fabian-hiller
Copy link
Owner

Thank you for crating this issue. I will have a look at it.

@fabian-hiller fabian-hiller self-assigned this Oct 20, 2023
@fabian-hiller fabian-hiller added the enhancement New feature or request label Oct 20, 2023
@fabian-hiller
Copy link
Owner

Starting from the next version on, I will export it as PartialObjectEntries.

@marek-hanzal
Copy link
Author

Olala, that was quick. Thank you!

@fabian-hiller
Copy link
Owner

v0.20.0 is now available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants