-
**Is your feature request related to a problem? Please describe.**
To have generic components it's sometimes neccessary to pass down union types where only an intersection of the type is equal.
…
-
I've switched from using enums to iterable type unions, as outlined in [this post](https://stackoverflow.com/a/60041791/9743794). I find them much more ergonomic than traditional TS enums and they hav…
-
```lua
do
local record vers
record NestedVersion
string: string
end
end
local type AliasVersion = vers.NestedVersion
local cv: AliasVersion | string
lo…
-
Consider a C++ union like this:
```c++
struct S1 {
char s;
int i;
};
struct S2 {
int a;
int b;
};
union U {
S1 s1;
S2 s2;
};
```
Clang lowers it to LLVM-IR like this as LLVM…
-
### Describe the bug
`Int64` and `timestamp with time zone` are not coercible:
```
> SELECT 2 x UNION ALL SELECT now() x;
type_coercion
caused by
Error during planning: Incompatible inputs for U…
-
Template can use the properties of types as types via type property access syntax. Type property access syntax currently supports object types (`foo.bar`), tuple types (`foo[1]`), dictionary types (`f…
-
### Goals
1. Ability to assert a common supertype for all union variants to avoid a common class of error
2. Ease code generation of unions in situations where a polymorphic base is desired
3. Ma…
-
I am trying to deserialize user config data that has fields with multiple possible option types, as implemented with a type-union. This seems to not be supported. Are there plans to support this? O…
-
**Describe the bug**
When using a singular union type with `graphql_fields` (i.e. a field with a union type with only one sub-type within the union), the field is rendered only with the fields within…
-
When a type parameter appears in a union, the type is generated as a type name, not a type variable, resulting in the error `The type 'T' is not defined`. Functions are also not yet handled in unions.…