-
Notifications
You must be signed in to change notification settings - Fork 1
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
Review API-Guidelines: inter-module reference #48
Comments
Same thing for resource removal. When a resource is soft-deleted (#46), it should also be reported in the asynchronous inter-module reference validation. |
This should fit in JSON API but there is no "official" way to point to an "external" API. Option1. Keep the relationship section simple:
and use the
That would imply modules would need to know (by configuration) how to reach the other modules even if they will not do it themselves (as per #57). Option 2: The alternative would be to simply ignore it and rely on the system routing to find it. It would work but it might be not obvious for an external user why, for example, the |
@falkogloeckler you agree with option 1 or 2? @jdobber ? |
Option 1. Thx! |
In order to comply with #47 , inter-module references are not enforced at insert/update time. A module pointing to another module should only keep the namespace/context and the id. e.g. agent/bf70a499-89ac-4b83-bc5a-c3e1ca12af51 .
All modules should include asynchronous inter-module reference validation and produce a report of unresolvable references.
The text was updated successfully, but these errors were encountered: