Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to set level of validation on events #30

Open
t-persson opened this issue Jan 31, 2021 · 0 comments
Open

Add the possibility to set level of validation on events #30

t-persson opened this issue Jan 31, 2021 · 0 comments
Labels

Comments

@t-persson
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant