-
Notifications
You must be signed in to change notification settings - Fork 11
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
models: break up the dependency between the user and the payload #1067
models: break up the dependency between the user and the payload #1067
Conversation
a9d5503
to
3e4d2bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor comments; otherwise LGTM 👍
3e4d2bf
to
ada71cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Pass the `request` object as the first `infer()` parameter and remove the user related information from the payload.
ada71cc
to
577237b
Compare
That was just a (self inflicted) rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Pass the
request
object as the firstinfer()
parameter and remove theuser related information from the payload.