We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have something like this in my schema
type Query { request: QueryMessageOt! } type QueryMessageOt { requestID: ID! offline: Boolean! executionTime: Float cargo(filter: CargoFilterIt!, cursor: String, limit: Int): CargoResult }
How can i modify root fields in my cargo resolver? For example, i want to accumulate the execution time, but when i do this:
cargo
func (r *queryMessageOtResolver) Cargo(ctx context.Context, obj *model.QueryMessageOt, filter model.CargoFilterIt, cursor *string, limit *int) (*model.CargoResult, error) { *obj.ExecutionTime += 777.0 return nil, nil }
i still get old execution time from request resolver.
request
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have something like this in my schema
How can i modify root fields in my
cargo
resolver? For example, i want to accumulate the execution time, but when i do this:i still get old execution time from
request
resolver.The text was updated successfully, but these errors were encountered: