-
### Clear and concise description of the problem
We have heard from a few places (GraphQL, Azure specs) where it would be useful to explicitly annotate the usage of a data type as being input only,…
-
Encountered an issue with the following UnionType (it is necessary to use string-based types here as we are inside the class defining the said type):
```python
class MyClass:
def my_method(x:…
-
A `class_getter` with a block usually runs exactly once:
```crystal
module Foo
class_getter(x : Int32) { 1 }
# same as:
def self.x : Int32
if (x = @@x).nil?
@@x = 1
els…
-
## Expected Behavior
https://github.com/poem-web/poem/compare/master...vpikulik:poem:union_is_object_type
## Actual Behavior
```
$ -> cargo check
Checking example-openapi-union v0.1.0…
-
As described in #108, when making a query on a union, the result type will include all fields of the union regardless if they were selected or not. This causes issues with recursive types in e.g. Remi…
-
# Bug Report
### 🔎 Search Terms
- union type
### 🕗 Version & Regression Information
- bug exists in 4.2
- works in 4.1
### ⏯ Playground Link
https://www.typescriptlang.org/play?targ…
-
**TypeScript Version:** Version 3.6.3, Version 3.7.0-dev.20190911
**Search Terms:** intersect function
**Code**
```ts
class A {
public uniqueToA = "a";
public getString(…
-
It is a fairly common pattern to create a set of generic components, and then to use the generic component type within the system. Currently, typescript has an issue handling cases where some values o…
-
**TypeScript Version:** 3.3.0-dev.20181130
type inference
type inference inheritance
type inference inheritance optional
type inference inheritance optional property
type inference inh…
-
### 🔎 Search Terms
specify type narrow union
### 🕗 Version & Regression Information
All versions I checked and nothing in FAQ that seems related
### ⏯ Playground Link
https://www.typescriptlang.o…