-
Because the generator does not see the generated union type symbol yet (and thus does not recognize a possible impure value type); value type union types are added to the value container.
-
## Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
## Issue details
Not…
t0yv0 updated
2 years ago
-
### 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'…
-
## Proposal
It would be convenient to have a link for the following
https://en.wikipedia.org/wiki/Union_(set_theory)#Arbitrary_unions
I suggest to call it
```
UnionLink
```
I like the…
-
I think there's a lack of info on how to actually apply union types to real problems in js.
I'd like to see something like http://fsharpforfunandprofit.com/series/designing-with-types.html
offered s…
-
I originally posted this [here](https://discourse.julialang.org/t/why-would-in-unions-for-keyword-arguments-create-allocations/112390) in the discourse.
Consider this function which simply retu…
-
My understanding is that tagged union are created via `.layout = .Auto, .tag_type = EnumDefinition`, but this currently generates compiler errors indicating this union isn't tagged:
```zig
const std…
fengb updated
2 years ago
-
I have just used `Union` and I found one issue with the way it works currently...
This code is here for illustration purposes only.
```py
from marshmallow import fields
# the class to use as f…
-
The correct call throws an error:
```
Argument: 3 has type: number different from expected type: object.
```
```ts
@Typed()
public x(foo: string | number): void {
```