Skip to content

Comments

fixes #105 Sideloaded resources don't get passed parent resources context#124

Open
rhec wants to merge 1 commit intoRestPack:masterfrom
rhec:feature/pass-context-to-sideloaded-resources
Open

fixes #105 Sideloaded resources don't get passed parent resources context#124
rhec wants to merge 1 commit intoRestPack:masterfrom
rhec:feature/pass-context-to-sideloaded-resources

Conversation

@rhec
Copy link
Contributor

@rhec rhec commented Apr 3, 2015

In my application I have some resources I'd like to side load, but they require some additional context to serialize properly. Pushing down the root context to sideloaded resources as described in #105 works for me, and that's what this PR does. Ideally though I think the context should be namespaced somehow so you can apply the root context to the root serializer, and specific sideloaded resource contexts to their respective serializers. What do you think?

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