Jonah Henriksson
Jonah Henriksson
@meclondrej I just defined it as: ```rust #[derive(Clone, Copy, From)] pub struct ApiResult(pub Result); impl Deref for ApiResult { type Target = Result; fn deref(&self) -> &Self::Target { &self.0 }...
Yeah, if the union macro supported generics, then it would work, but I don't think it will (unless some sort of naming strategy trait like `ProductName` as I described above...
Because names can't conflict in GraphQL (AFAIK) and types can't be generic. So if your API uses `Result` and `Result`, there would need to be a way to convert them...
@shanecelis I didn't even consider case insensitive searches, but I suppose that would be possible: A future PR could implement an `Insensitive` token for case-insensitive tries and `Label` could be...
Making a note here: The new API I'm working on now introduces the `NodeRef`, `NodeMut`, and `KeyRef` objects, which point to nodes in tries (`KeyRef` is a newtype of `NodeRef`...
You can do this if you cast your errors to trait objects before returning. So if you use `&(dyn std::fmt::Debug + Send + Sync)` as your error type everywhere, there...
Well first, if you want a stacktrace, going with `source` seems like a roundabout way of doing it. If you just want a stacktrace for debugging, just panic and have...
I wasn't aware of the discussion here, but I made another discussion #6026 for a CLI/GUI tool that can incorporate some of these features.
I made a fix for this by moving the "Open Editors" panel to be below the file tree and making it resizable. I just have to make it so the...