-
Notifications
You must be signed in to change notification settings - Fork 1
Node validation #74
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
Comments
I think it'd be useful, because it's a chance to define how to pinpoint a certain location within a model, e.g. (ID, [feature, [index within value]]). |
I think we need to separate two cases:
b. Handle nodes inconsistent with metamodel, e.g.
For a), we need to think how a server reacts if it gets a "write request" where parts of the data is invalid. Don't do anything? Apply the valid changes? In the latter case, how do we report back which parts worked? For b), I think we only need to talk about reporting -- each LIonWeb system needs to decide on its own how to handle them. |
Good separation of the two cases. The first one is essential for the API, as the client needs to know whether something sent is applied or not and why. |
Relates to #88 |
Should we have a standard way to report issues on nodes?
This could be useful for integrating editors with other components (i.e., editors would consume issues by displaying them).
It could also be useful if we wanted to have pipelines: a component could get a model, perform resolution on it, and add issues for things that are inconsistent (for example, calling a method with the wrong number of parameters).
The text was updated successfully, but these errors were encountered: