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

[JSON API] Relationships must exist #333

Open
cmars opened this issue Aug 5, 2022 · 0 comments
Open

[JSON API] Relationships must exist #333

cmars opened this issue Aug 5, 2022 · 0 comments

Comments

@cmars
Copy link
Contributor

cmars commented Aug 5, 2022

Relationship links must exist. For a relation like:

  relationships:
    authorized_apps:
      links:
        related: /path/to/authorized_apps

If there isn't a /path/to/authorized_apps, the relation is broken.

We need a rule that can check for this and flag broken relationships in our API.

Such a rule would likely need to operate at the compiled service or compiled SaaS level. It will also require link metadata in order to resolve to a route.

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

No branches or pull requests

1 participant