-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Scope is not passed through the custom attributes #937
Comments
@sungwoncho just checkin, are you using 0.10? from master or rc1? |
Also, is there any reason you can't use |
Propose closing since OP hasn't responded with version. (Though I correct myself, |
@bf4 I am using |
|
Scope is nil when serializer is called within a custom attribute of another serializer.
Contrived example:
Above works fine. However,
scope
isnil
when I useUserSerializer
in a custom attribute of another serializer:Update
After reading the code, I realize that I can pass in scope when initializing the Serializer.
What are your thoughts on passing the scope by default, if one is defined?
The text was updated successfully, but these errors were encountered: