Skip to content

Allow any proxy type in RoutingDuplex' not just SProxy #24

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

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

thomashoneyman
Copy link
Collaborator

The SProxy type has been deprecated in PureScript 0.14, but RouteDuplex' still requires one. This change updates the constraint so that any proxy type can be used. That means that SProxy can still be used, but the more usual Proxy type can also be used. This is therefore not a breaking change.

I also updated the library internals to use Proxy so that we don't have to do anything when PureScript 0.15 comes out and the SProxy type is removed.

@thomashoneyman thomashoneyman merged commit 4f59293 into master Jun 16, 2021
@thomashoneyman thomashoneyman deleted the proxy branch June 16, 2021 19:37
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