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 support for a JSON:API includes allowlist. #292

Merged
merged 3 commits into from
Jun 12, 2023

Conversation

mattpolzin
Copy link
Member

@mattpolzin mattpolzin commented May 2, 2023

This PR makes it possible to restrict the allowed includes to a specified list instead of allowing all relationships to be included. This kind of behavior has been needed by Opal Labs on several occasions for a few reasons, most notably when writing an endpoint on service A that has a relationship to resource owned by service B and not wanting to support including resources from service B in service A's responses.

@mattpolzin mattpolzin requested a review from a team as a code owner May 2, 2023 20:48
@mattpolzin mattpolzin merged commit 1f236ef into beam-community:main Jun 12, 2023
@mattpolzin mattpolzin deleted the include-allowlist-fin branch June 12, 2023 18:39
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

Successfully merging this pull request may close these issues.

1 participant