Mingun
Mingun
Although no, [here](https://github.com/serde-rs/serde/pull/2562/files#diff-a515e5263e123b9ce89f6fca11b49ae211fcd698361998023ec040c7f72712e3R494-R504) it is assumed that all names are already unique, and if they are not, they silently collapse into one entry in the `BTreeSet`
Could you check if #2811 solves this problem?
It seems that the thing that broke serde-bencode is #2496 and #2505. This change broke several protocols
Yes, of course I deleted the problem code locally. Issue is to inform you about the situation.
You can also explore the possibility offered by the Language Server Protocol (LSP) -- it is possible that you do not need to come up with your own protocol, but...
Language server is about parsing the something and answer queries about that. Maybe some of those queries are suitable for your idea. About this my proposal is to investigate whether...
@vmx, you're right, I should update my PR
Attribute [`#[serde(getter = "...")]`](https://serde.rs/field-attrs.html#getter) already exist but it can be used only with `#[serde(remote = "...")]` on the type. I think, that this restriction can be eliminated
As a workaround, you can use `#[serde(remote = "Self")]`: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=21178bb66886241df7c505f95152f6b4
[As I already noted](https://github.com/serde-rs/serde/pull/2798#issuecomment-2292784948), I see no rational reasons why this cannot be implemented. The derive code already exists and everything that is needed to make getter works is to...