-
```roc
# OK. It's a number
three : Int *
three = 3
# OK. It's a function
returnEmpty : {} -> List *
returnEmpty \{} -> []
# Error. It's a list literal
empty : List *
empty = []
# Error…
-
Hi,
I have an issue in django-polymorphic when deleting models from django-admin.
Models are defined as below
``` python
class Farm(models.Model):
class Meta:
pass
class Animal(Polymor…
-
The following have been reported on the compiler, but I believe now it to be a problem with Mdoc, that scastie and the repl use
https://github.com/lampepfl/dotty/issues/17000
https://github.com/lamp…
-
### 问题描述
经常性的崩溃导致无法发送消息。
报错信息如下
`2024-12-03 10:46:19 I/trpgbot.adapter.ws: Bot(******) request_token, IAA 云天明 章北海 赵怡然### Astral Protection Core: 由于系统近期检测到这段时间有来自未知流量的非法攻击,为了保护其他用户的正常使用,较大资源消耗…
-
## Your Question
I have a Polymorphism Association described as follow:
```go
type UserTypeA struct {
Id uint64 `json:"-"`
Firstname string `json:"firstname" gorm:"size:255;no…
-
We generate Swagger from JAX-RS/Jackson with polymorphic types, but do not reference the supertype in controllers.
This generates an incorrect OpenAPI type definition, where the discriminator field…
-
While the JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY works fine normally, there is an issue when using it along with @JsonTypeInfo and its JsonTypeInfo.As.EXTERNAL_PROPERTY feature (regular PROPE…
-
[P1160R0](https://wg21.link/P1160) Add Test Polymorphic Memory Resource To The Standard Library (Attila Feher, Alisdair Meredith)
-
**Problem (excuses for the long description) - Version: 2.13**
I am trying to use the JsonTypeInfo.Id.DEDUCTION method which is described [here](https://cowtowncoder.medium.com/jackson-2-12-most-wa…
-
## Problem statement
I can see the generated code for polymorphic model in client. And the unmarshal func will validate the discriminator. For example
```go
return nil, errors.New(422, "invalid na…