Skip to content

Conversation

@ilyvion
Copy link
Contributor

@ilyvion ilyvion commented Apr 15, 2025

As I lamented @ #3811 (review) I find the returned requirement of Display on all FromServerFnError implementations problematic. It turns out that it's there only so that to_string() can be called in a few places where web sockets are involved.

Since I don't use websockets and I don't ever display error messages "verbatim" to my end users, this Display requirement is just extra churn and noise for me.

We don't necessarily have to go with the exact solution I've provided here, but I'm opening this PR to at least "force" a discussion on the matter.

@sabify
Copy link
Contributor

sabify commented Apr 15, 2025

@ilyvion Thanks for the PR, please check out #3848.

@ilyvion
Copy link
Contributor Author

ilyvion commented Apr 15, 2025

@sabify Ah, if your PR is accepted, we can close this one. I'll leave it open for now, just in case, but yeah, if the Display requirement goes away for another reason, this PR becomes redundant.

@gbj
Copy link
Collaborator

gbj commented Apr 23, 2025

Merged #3848, so this should be all good.

@gbj gbj closed this Apr 23, 2025
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.

3 participants