eiffel-community / eiffel-community/eiffel-pythonlib
Add the possibility to set level of validation on events
- Langage dominant
- Python
- Étoiles
- 8
- Forks
- 12
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier, test ou point d’entrée n’est nommé. Commencez par localiser l’endroit où eiffel-pythonlib valide les événements lors de la publication et de la souscription, puis déterminez comment les niveaux de validation sélectionnables doivent se comporter pour répondre à la demande de tolérer les mises à jour mineures de la spécification Eiffel. Le travail est terminé lorsque les appelants peuvent choisir un niveau de validation sans rejet involontaire et que le risque indiqué d’accepter des événements qui ne sont pas Eiffel est traité.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- json, python
- Domaine
- api, backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100