[TASK] sort event.schema.fields by their name-value

Aperta
#1,706 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
devops, tooling

Direzione di ricerca

Start by locating the code that handles event.schema.fields and the cached-schema versus deployed-schema comparison. Verify how array ordering is currently compared, then define completion as stable name-based ordering and a comparison that does not reject schemas solely because field order differs; add or update the relevant tests if the repository has them.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

c/event chore

turns out those schema entries can also get shuffled around. lets make sure they are sorted by fields[ i ].name to ease PR reviews.
that requires that our check for cached schema vs deployed schema needs to become more complex than a simple comparison of the array (which insists on the same order of fields)

Lingua principale
JavaScript
Stelle
166
Fork
50
Merge medio
11h 4m
PR unite (30g)
36

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Accenture/sfmc-devtools

Tutte le issue di Accenture/sfmc-devtools

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.