-
**TypeScript Version:** 2.8.0-dev.20180204
**Search Terms:** `in` operator type guard generic assert
**Code**
```ts
function f(key: K, genericObj: T, concreteObj: {foo: string}) {
if ('a' …
jcalz updated
11 months ago
-
```rust
#[derive(Serialize, Deserialize)]
struct S {
a: u32,
b: String,
#[serde(other)]
other: Map,
}
```
```json
{"a":0,"b":"","c":true}
```
This would deserialize int…
-
### Is this related to an existing feature request or issue?
https://github.com/awslabs/aws-lambda-powertools-python/issues/1173
### Which AWS Lambda Powertools utility does this relate to?
O…
-
-
I am using serde_with = "2.2.0" trying to deserialize this json body:
`````
#[derive(Deserialize, Debug)]
pub struct UpdatePartialTask {
#[serde(
default, // deserialization
skip…
-
I am new to Rust, and thought that basically anything that is related to serialization/deserialization would be related one way or another to the Serde crate. This one isn't, and it interrogates me. T…
-
```julia
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin21.4.0)
CPU: 8 × Apple M1
WORD_SIZE: 64
LIBM: l…
-
## Expected Behavior
Start workflow "MailTriggerMonitor"
## Actual Behavior
When running the script from powershell.exe , I got this error:
MethodException: C:\Program Files\WindowsPowerShell…
-
Right now we get very useless errors when a config value is considered "invalid". The goal of this ticket is to find out how much of a lift it would be to change the [config library](https://crates.io…
-
I believe the current proposal implies that macros cannot emit any output to the filesystem, is that correct?
I am using a custom macro system that I would like to replace with the proposed macro s…