code: func NewRequest() *Request {
  	r := &Request{
  		invocationChainMapping: make(map[int][]InvocationChain),
  		queryMapping:           make(map[discovery.QueryType]map[string]int),
  		Request:                &discovery.Request{},
  	}
  	// pre-populate types
  	for _, queryType := range configTypes {
  		r.queryMapping[queryType] = make(map[string]int)
  	}
  	return r
  }
docs: // NewRequest creates a new request