0xMiden/air-script
Treatment of duplicate integrity constraints
Aberta
#275 aberto em 26 de abr. de 2023
good first issue
Métricas do repositório
- Stars
- (96 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Currently we don't throw an error if a user defines duplicate constraints, we transpile them into two equivalent constraints. We could do one of the following:
- Generate only one constraint in this case and ignore duplicates.
- Throw an error since this is most likely unintended.
- Throw a warning (in future) but still generate one constraint.