eiffel-community / eiffel-community/eiffel-pythonlib

Add the possibility to set level of validation on events

Aperta
#30 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
on-hold
Lingua principale
Python
Stelle
8
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.