Synchronize AssemblyScript versions between packages
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- build-system, tooling
Direzione di ricerca
Confronta le dichiarazioni delle dipendenze AssemblyScript per @graphprotocol/graph-cli e @graphprotocol/graph-ts, iniziando dai metadati del pacchetto e dalla configurazione di build di ciascun pacchetto. Verifica che l'aggiornamento richiesto di AssemblyScript sia compatibile con entrambi i pacchetti e convalida che i controlli null e i confronti tra stringhe vengano compilati correttamente; il lavoro è completato quando entrambi i pacchetti usano la versione sincronizzata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Environment
@graphprotocol/graph-cliv0.97.1, which usesassemblyscriptv0.19.23@graphprotocol/graph-tsv0.38.1, which usesassemblyscriptv0.27.31
Problem
keywords: assemblyscript, equality, string checks, string comparison, null check, ==, ===, !=, !==
In previous versions of graph-ts, we were able to perform null checks using ==. But now, in the latest versions, we are forced to use === (otherwise, we get all sorts of errors at build time).
I wouldn't have a problem with using ===, but we are also forced to use == for string comparisons.
This is a super error-prone design where the maintainers have to remember to use slightly different operators for different types.
Solution
Upgrade to AssemblyScript v0.20, in which the === operator no longer checks for strict object equality.
https://github.com/AssemblyScript/assemblyscript/issues/621
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out
- Tick this box if you plan on implementing this feature yourself.
- I have searched the issue tracker to make sure this issue is not a duplicate.
- Lingua principale
- Rust
- Stelle
- 3.2k
- Fork
- 1.1k
- Merge medio
- 4g 1h
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di graphprotocol/graph-node
-
current: include emits an all-null bucket for dimensionless aggregations, nulling the whole response Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
graphprotocol/graph-node#6719 ·
-
RUSTSEC-2026-0194: Quadratic run time when checking a start tag for duplicate attribute names Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
graphprotocol/graph-node#6673 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
graphprotocol/graph-node#6650 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
graphprotocol/graph-node#6722 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
graphprotocol/graph-node#6721 ·
Tutte le issue di graphprotocol/graph-node
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
state:needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
zed-industries/zed#64680 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
RustPython/RustPython#8802 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TheLarkInn/aipm#2390 ·