docs: function buildFieldContext(
    fieldType: string,
    {
      typeName,
      fieldName,
      argsStr,
      ReturnTypeName,
      query
    }: {
      typeName: string,
      fieldName: string,
      argsStr: string,
      ReturnTypeName: string,
      query: string
    },
    codeType: string
  ): any {
    // clone the string
    let argFields = (' ' + argsStr).slice(1);
  
    // populate some arguments with defaults
    const argsWithDefaultsStr = argsStr
      .replace('lastCreatedAt', 'lastCreatedAt = 0')
      .replace('limit', 'limit = 10');
  
    // prepares a fields string to pass on to the referenced type
    if (fieldType === PAGINATED && argFields !== '') {
      argFields = argFields.replace('{ ', '{ baseQuery, ');
    }
  
    // returns the build field context
    return {
      fieldType: fieldType || '',
      fieldName: fieldName || '',
      typeName: typeName || '',
      TypeName: ucFirst(typeName) || '',
      ReturnTypeName: ReturnTypeName || '',
      argsString: argsWithDefaultsStr || '',
      argsFields: argFields || '',
      query: query || ''
    };
  }