     return [null, result]
   else
     return [null, {}]
-
-selectResolvedFieldParameters = (fieldParameters, parentParameters, resolvedParameters) ->
-  for paramName, paramValue of fieldParameters
-    if beginsWithUpperCase paramValue
-      resolvedParameters[paramName] = fieldParameters[paramName]
-    else
-      resolvedParameters[paramName] = parentParameters[paramValue]
 
 resolveAllPossibleParameters = (fieldsObj, parameterArguments) ->
   return {} if fieldsObj is undefined

    if isParameterName fieldName
      resolvedParams[fieldName] = parentParameters[fieldName]

    selectResolvedFieldParameters fieldDeclaration[fieldName], parentParameters, resolvedParams

    return [null, resolvedParams]


isResolvedTypeName = (x) -> isString(x) and beginsWithUpperCase(x)
isParameterName = (x) -> isString(x) and !beginsWithUpperCase(x)

selectFieldTypeAsParameter = (fieldType, parentParameters) ->
  if parentParameters[fieldType]?
    result = {}
