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

Rename schema transform params #2065

Merged

Conversation

nspaeth
Copy link
Contributor

@nspaeth nspaeth commented Feb 6, 2024

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

I frequently forget the types and parameters of the transform encode/decode functions and have to go look at the source and manually track the types.

This change only renames the function parameters and type parameters so that they are obvious in type hints and auto-completions.

Copy link

changeset-bot bot commented Feb 6, 2024

🦋 Changeset detected

Latest commit: 9ce874f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@effect/schema Patch
@effect/cli Patch
@effect/experimental Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/platform Patch
@effect/rpc-http-node Patch
@effect/rpc-http Patch
@effect/rpc-nextjs Patch
@effect/rpc-workers Patch
@effect/rpc Patch

Not sure what this means? Click here to learn what changesets are.

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

@nspaeth
Copy link
Contributor Author

nspaeth commented Feb 6, 2024

It looks like I created this pull request incorrectly. There should only be one commit touching one file branched from #next-minor.

I'll see if I can figure out how to fix it.

@nspaeth nspaeth force-pushed the rename-schema-transform-params branch from 1e802cd to d2060d8 Compare February 6, 2024 20:54
@tim-smart tim-smart force-pushed the rename-schema-transform-params branch from d2060d8 to b2d3704 Compare February 6, 2024 22:16
@nspaeth nspaeth force-pushed the rename-schema-transform-params branch 4 times, most recently from 83ca84a to 8a0baca Compare February 6, 2024 22:36
@nspaeth
Copy link
Contributor Author

nspaeth commented Feb 6, 2024

Okay, fixed PR to only include my changes.

@nspaeth nspaeth force-pushed the rename-schema-transform-params branch from 8a0baca to 9ce874f Compare February 7, 2024 02:39
@gcanti gcanti merged commit 30ee4a7 into Effect-TS:next-minor Feb 7, 2024
12 checks passed
@github-actions github-actions bot mentioned this pull request Feb 7, 2024
@nspaeth nspaeth deleted the rename-schema-transform-params branch February 7, 2024 06:55
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
tim-smart pushed a commit that referenced this pull request Feb 7, 2024
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
tim-smart pushed a commit that referenced this pull request Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants