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

Refactor pluck #2294

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Refactor pluck #2294

merged 1 commit into from
Mar 13, 2024

Conversation

gcanti
Copy link
Contributor

@gcanti gcanti commented Mar 13, 2024

to return Schema<A[K], { readonly [key]: I[K] }> instead of Schema<A[K], I>. Additionally, remove the option { transformation: false } in favor of selecting the specific field from the fields exposed by a struct.

@gcanti gcanti added the schema label Mar 13, 2024
Copy link

changeset-bot bot commented Mar 13, 2024

⚠️ No Changeset found

Latest commit: 20a995f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 10 packages
Name Type
@effect/schema Minor
@effect/cli Major
@effect/experimental Major
@effect/platform-browser Major
@effect/platform-bun Major
@effect/platform-node-shared Major
@effect/platform-node Major
@effect/platform Major
@effect/rpc-http Major
@effect/rpc Major

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

to return `Schema<A[K], { readonly [key]: I[K] }>` instead of `Schema<A[K], I>`. Additionally, remove the option `{ transformation: false }` in favor of selecting the specific field from the `fields` exposed by a struct.
@gcanti gcanti merged commit 5921212 into main Mar 13, 2024
12 checks passed
@gcanti gcanti deleted the chore/pluck branch March 13, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant