Skip to content

Conversation

richmolj
Copy link
Contributor

@richmolj richmolj commented Aug 6, 2017

If the same resource was sideloaded twice, the next level of sideloading
would only apply once. This fixes that logic to allow this up to five
times (without cutoff there is infinite recursion).

Fixes #41

If the same resource was sideloaded twice, the next level of sideloading
would only apply once. This fixes that logic to allow this up to five
times (without cutoff there is infinite recursion).

Fixes jsonapi-suite#41
@richmolj
Copy link
Contributor Author

richmolj commented Aug 6, 2017

@Startouf there's probably some additional refactoring to do here, but this is the simplest possible fix for now.

@richmolj richmolj merged commit 42da699 into jsonapi-suite:master Aug 6, 2017
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.

Sideloading fails if (nested) sideloads have the same name
1 participant