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

Retain struct's type in partial and pick helpers #1149

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

arturmuller
Copy link
Collaborator

Resolves #829

Refactors partial helper to more directly reflect its internal logic
including schema shorthand usage.
@dlindenkreuz
Copy link

@ianstormtaylor Are there any blockers? This would be a really useful fix.

@kevcao-certik
Copy link

@ianstormtaylor Same here, this would be super useful if there are no issues with the PR. Thanks!

@arturmuller arturmuller merged commit 4511928 into ianstormtaylor:main Dec 16, 2023
@arturmuller
Copy link
Collaborator Author

@dlindenkreuz @kevcao-certik this will be landing in the next release!

I will be helping Ian with the maintenance of Superstruct from now on, so as soon as I get publish rights on npm you will be able to (finally) use this :)

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

Successfully merging this pull request may close these issues.

omit, pick and partial should return schema's type
3 participants