eiffel-community / eiffel-community/eiffel-pythonlib

Add the possibility to set level of validation on events

Offen
#30 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
on-hold
Vorherrschende Sprache
Python
Sterne
8
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Description

Today eiffelib validates all events against the Eiffel JSON schemas and, as such, the eiffellib will never allow any events that do not follow the Eiffel specification.
This can cause some annoyances, especially when updating Eiffel specification versions.

### Motivation

The ability to disable validation would end the problems with eiffellib rejecting events on subscribe and publish.

### Exemplification

When a very minor update is done to the Eiffel specification, the eiffellib would not reject the events.

### Benefits

Easier to just let a program execute and hope that it does not break when new updates to the Eiffel specification come.

### Possible Drawbacks

It would allow anyone to just publish and subscribe to any event they want through the eiffellib, even if it's not Eiffel. There is a risk that an internal specification, that does not follow Eiffel, could be created due to having this ability to ignore validation.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, zu ermitteln, wo eiffel-pythonlib Ereignisse während der Veröffentlichung und des Abonnierens validiert, und bestimme anschließend, wie auswählbare Validierungsstufen aufgrund der Anforderung, kleinere Aktualisierungen der Eiffel-Spezifikation zu tolerieren, funktionieren sollten. Als erledigt gilt die Aufgabe, wenn Aufrufer eine Validierungsstufe auswählen können, ohne unbeabsichtigte Ablehnungen zu verursachen, und das ausdrücklich genannte Risiko, Nicht-Eiffel-Ereignisse zu akzeptieren, berücksichtigt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
json, python
Bereich
api, backend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.