-
Notifications
You must be signed in to change notification settings - Fork 1
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
Passing parameters to "Query" #29
Comments
I need to check but I think I made it so the struct is encoded and stored in the datastore so it should be possible to set values on it and then see them in the later stages, as long as they are public / exported and the struct is gob encodable. |
it works. I used a private field. It makes sense to document this somehow imho. |
Yes definitely, I don't think I ever ended up needing to use it myself so kind of forgot about it :) Probably makes sense to add something to one of the examples |
I created a job that should transform entities from one kind to another by getting the values from the request:
`func (x *transform) Query(r *http.Request) (*mapper.Query, error) {
c := appengine.NewContext(r)
}
`
How can I pass this value ("to") to
func (x *transform) Next(c context.Context, counters mapper.Counters, key *datastore.Key) error
?
The text was updated successfully, but these errors were encountered: