-
## Description
Polymorphic box has partialized props if "as" component has unioned props.
## Reproduction
```
import React from 'react';
import { Box } from 'react-polymorphic-box';
inte…
-
Right now, type-it supports nested value, literal, and class types, under arbitrary tuple / record mappings.
However, there's currently no way to represent the idea of a union type, i.e. validate t…
-
On 0.6.2, `hcat` has quite interesting behaviour with `Vector{Union{...}}`. It's particularly problematic with `Missing` values (it returns `Matrix{Any}`).
```julia
julia> hcat([1,2], Union{Int, F…
-
just fixed most diffgen problems except for this one.
-
### Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's [Code of Conduct](https://github.com/ory/keto/blob/mast…
-
Right now we have the following definition for our models:
```ts
type TArticleBase = {
/** article's thumbnail */
thumbnail: TImage;
/** article's title */
title: string;
/** article'…
-
@ocots @jbcaillau Before that I forgot, you are using quite often a `foo::Union{Nothing, ...}` inside your structures for the type of the attributes. The compiler doesn't like that and i…
ocots updated
1 month ago
-
```python
def foobar(foo: Union[str, float]):
if foo in ['fizz', 'buzz']:
reveal_type(foo)
else:
pass
```
The revealed type is `Union[builtins.str, builtins.float]` bu…
-
This is perhaps a duplicate request, but I couldn't find a previous issue about this.
Currently, the display of union types makes it difficult to detect where one type ends and the other begins:
!…
-
```python
from typing import Any, Literal
from pydantic import BaseModel
class Model(BaseModel):
foo: Literal["A"] | None
```
The generated JSON Schema for `foo` is:
```json
{
…