[RENDERER]: add optionalAttribute / spread tests when values are regular expressions

Aperta
#122 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Start by tracing how the renderer handles optional attributes and spread values, then compare those paths with attribute assignment, reflection, and parsing. The issue asks whether regular-expression values should render and leaves the expected behavior open; clarify that first, then add tests and fix any confirmed bugs.

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

Descrizione

bug enhancement

Find out if it actually makes sense to render complex expressions like:
/[a-z0-9!#$%&'+/=?^_{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_{|}~-]+)@(?:a-z0-9?.)+a-z0-9?/g

If so, write tests, fix bugs.

Would also be nice to find out how other places handle these values (attr assignment / reflection / parsing) handle these cases

Lingua principale
JavaScript
Stelle
30
Fork
5
Merge medio
1h 57m
PR unite (30g)
10

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 webtides/element-js

Tutte le issue di webtides/element-js

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.