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

Remove/Rename handler terminology - refactor api #35

Merged
merged 18 commits into from
Nov 5, 2024
Merged

Conversation

mbarbin
Copy link
Owner

@mbarbin mbarbin commented Nov 1, 2024

This implements the change discussed here #16

This effectively removes the term 'handler' from the project, which simplifies the cognitive overhead and make the usage a bit less verbose overall.

Changed

  • Simplify the API and remove the term 'handler' from the project (breaking change)

Most of the user facing renames can be summarized as follows:

Functions

  • Provider.Trait.implement => Provider.implement
  • Provider.Handler.make => Provider.make
  • Provider.Handler.lookup => Provider.lookup

Types

  • Provider.Handler.t => Provider.t
  • Provider.t => Provider.packed

@mbarbin
Copy link
Owner Author

mbarbin commented Nov 1, 2024

@mbarbin mbarbin merged commit 438f94d into main Nov 5, 2024
7 checks passed
@mbarbin mbarbin deleted the remove-handler branch November 5, 2024 11:36
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.

1 participant