-
I think `DISALLOW_TYPE_COERCION` and `ALLOW_TYPE_COERCION` are not using the correct values. [Here](https://github.com/OpenDDS/OpenDDS/blob/master/dds/DdsDcpsCore.idl#L298) `DISALLOW_TYPE_COERCION` is…
-
Not sure if this is intended, but currently coercions will panic if a value is none, which can happen with `optional: true` set.
I think it would be more intuitive, if a coercion respected the `op…
-
```rust
fn f() {}
fn main() {
let _p = f as fn();
}
```
The local `_p` is translated to type `Ptr(FnPtr(Rust))` while `f as fn()` is translated to type `Ptr(FnPtr(C))` leading to a panic i…
-
The spec expects that filenames can be represented as a string to alter things like filename extensions:
https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L6…
-
The `-s` string coercion flag results in an empty string when the value is `null`:
```console
jo -- -s foo=null
{"foo":""}
$ jo -v
jo 1.9
```
I would expect the result to be `{"foo":"null…
-
Add a schema and coercion for the `verison` type, the coercion should attempt parsing a string into a version before it is validated.
Currently, coercions seem to be infallible pre- or post-transfo…
-
For the following code,
```rust
fn main() {
let b = &mut 42 as *mut i32;
let _ = b as *const i32;
}
```
We get the following error message:
```
error: internal compiler error: minim…
-
Firstly, thank you for the package; it seems to be a great help to package authors.
However, I encountered an issue when using coercions with `datetime` objects. The `date` schema function accepts …
-
Currently there is no way to tell Zod "if you get a single value of correct type, just put it into an array". Existing `.coerce()` operation could be used for this.
Here is a reference implementati…
-
Due to a bug in Coq, some coercions were automatically reversible even though they should not have been according to the specification (https://github.com/UniMath/UniMath/pull/1850). For this reason, …
nmvdw updated
3 months ago