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

Fix wrong From impl for Resource #1589

Merged
merged 1 commit into from
Nov 29, 2022
Merged

Fix wrong From impl for Resource #1589

merged 1 commit into from
Nov 29, 2022

Conversation

davidpdrsn
Copy link
Member

Really not sure how this got past the tests.

Really not sure how this got past the tests.
@jplatte
Copy link
Member

jplatte commented Nov 29, 2022

It wasn't wrong, just needlessly restrictive 😉

Note that this is technically a breaking change, as people could have relied on inference figuring out S = () from a .into() call.

@davidpdrsn
Copy link
Member Author

Note that this is technically a breaking change, as people could have relied on inference figuring out S = () from a .into() call.

Yeah true but I think we should categorize it as acceptable breakage because it was hard/impossible to actually use previously. I ran into it with EmbarkStudios/server-framework#47

@davidpdrsn davidpdrsn enabled auto-merge (squash) November 29, 2022 09:34
@davidpdrsn davidpdrsn merged commit c7985b7 into main Nov 29, 2022
@davidpdrsn davidpdrsn deleted the fix-resource branch November 29, 2022 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants