-
The `unit_of` function
```rs
fn unit_of(x: T) -> T
```
which returns e.g. `1 km/h` for an input of `30 km/h` can lead to soundness bugs when the argument is zero.
Consider this case, for exampl…
-
I made an implementation of a polymorphic_value with SBO. It has a very similar API as this incarnation but removes the possibility to take over ownership of an object already existing on the heap. Th…
-
| --- | --- |
| Bugzilla Link | [522192](https://bugs.eclipse.org/bugs/show_bug.cgi?id=522192) |
| Status | NEW |
| Importance | P3 normal |
| Reported | Sep 12, 2017 08:26 EDT |
| Modified | Sep…
-
This is a proposal for the "Exploit the above to support Closable/AutoClosable resources." task of #4850
I propose that we add a new namespace `Region` containing (initially at least) a single func…
-
Problem:
Whenever swagger.json is generated for the Request object the field definition is a reference to SomeInterface instead of a OneOf definition pointing to classes A or B.
public class Req…
-
This is probably confusing for newcomers and those who don't know about `LinearTypes`, even if technically correct according to the user's guide
> By default, all fields in algebraic data types ar…
akrmn updated
1 month ago
-
I'm using a simple method of authorization which is being broken by link objects for polymorphic has many relationships.
I have a `ResourceBase` class derived from `JSONAPI::Resource`, which override…
-
I want to tag a model that does not have any field called id instead I am going to use another field that is used as id in my table called **customerNumber**. I want to know if there is any way to ove…
-
## The Problem
Currently you can't have more than one polymorphic relationship against a single "type" of model at a time. I propose some how the option to include an optional "group" to the `morph…
-
Take the following example code:
```
public void testGenerator() {
JsonSchemaGenerator generator = new JsonSchemaGenerator(MAPPER);
final JsonNode jsonSchema = generator.generateJsonSche…