func()

in _examples/selection/generated.go [86:156]


func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
	ec := executionContext{nil, e, 0, 0, nil}
	_ = ec
	switch typeName + "." + field {

	case "Like.collected":
		if e.complexity.Like.Collected == nil {
			break
		}

		return e.complexity.Like.Collected(childComplexity), true

	case "Like.reaction":
		if e.complexity.Like.Reaction == nil {
			break
		}

		return e.complexity.Like.Reaction(childComplexity), true

	case "Like.selection":
		if e.complexity.Like.Selection == nil {
			break
		}

		return e.complexity.Like.Selection(childComplexity), true

	case "Like.sent":
		if e.complexity.Like.Sent == nil {
			break
		}

		return e.complexity.Like.Sent(childComplexity), true

	case "Post.collected":
		if e.complexity.Post.Collected == nil {
			break
		}

		return e.complexity.Post.Collected(childComplexity), true

	case "Post.message":
		if e.complexity.Post.Message == nil {
			break
		}

		return e.complexity.Post.Message(childComplexity), true

	case "Post.selection":
		if e.complexity.Post.Selection == nil {
			break
		}

		return e.complexity.Post.Selection(childComplexity), true

	case "Post.sent":
		if e.complexity.Post.Sent == nil {
			break
		}

		return e.complexity.Post.Sent(childComplexity), true

	case "Query.events":
		if e.complexity.Query.Events == nil {
			break
		}

		return e.complexity.Query.Events(childComplexity), true

	}
	return 0, false
}