Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OS-Guild/graphql-to-mongodb
/ functions
Functions
124 in github.com/OS-Guild/graphql-to-mongodb
⨍
Functions
124
◇
Types & classes
93
↓ 16 callers
Function
printInputType
(inputType: GraphQLInputType)
tests/utils/printInputType.ts:26
↓ 14 callers
Function
cache
(cacheObj: object, key: any, callback: cacheCallback<T>)
src/common.ts:14
↓ 14 callers
Function
getGraphQLFilterType
(type: GraphQLFieldsType, ...excludedFields: string[])
src/graphQLFilterType.ts:32
↓ 12 callers
Function
getTypesCache
()
src/common.ts:8
↓ 10 callers
Function
setSuffix
(text: string, locate: string, replaceWith: string)
src/common.ts:25
↓ 9 callers
Function
getGraphQLQueryArgs
(graphQLType: GraphQLFieldsType)
src/queryResolver.ts:59
↓ 9 callers
Function
getUnresolvedFieldsTypes
(graphQLType: GraphQLFieldsType, typeResolver: TypeResolver<T> = null, ...excludedFields: string[])
src/common.ts:87
↓ 7 callers
Function
getGraphQLInsertType
(graphQLType: GraphQLObjectType, ...excludedFields: string[])
src/graphQLInsertType.ts:5
↓ 7 callers
Function
getGraphQLUpdateArgs
(graphQLType: GraphQLObjectType)
src/updateResolver.ts:54
↓ 7 callers
Function
getMongoDbQueryResolver
( graphQLType: GraphQLFieldsType, queryCallback: QueryCallback<TSource, TContext>, queryOptions?:
src/queryResolver.ts:39
↓ 6 callers
Function
getGraphQLSortType
(type: GraphQLFieldsType, ...excludedFields: string[])
src/graphQLSortType.ts:24
↓ 5 callers
Function
addPrefixToProperties
(obj: T, prefix: string)
src/common.ts:136
↓ 5 callers
Function
flatten
(nestedArray: T[][])
src/common.ts:132
↓ 5 callers
Function
getMongoDbUpdateResolver
( graphQLType: GraphQLObjectType, updateCallback: UpdateCallback<TSource, TContext>, updateOptions
src/updateResolver.ts:37
↓ 4 callers
Function
clearTypesCache
()
src/common.ts:10
↓ 4 callers
Function
validateNonNullableFields
( objects: object[], graphQLType: GraphQLObjectType, shouldAssert: ShouldAssert, isResolvedFie
src/mongoDbUpdateValidation.ts:48
↓ 3 callers
Function
getInnerType
(graphQLType: GraphQLType)
src/common.ts:97
↓ 3 callers
Function
getTypeFields
( graphQLType: GraphQLFieldsType, filter: FieldFilter = null, typeResolver: TypeResolver<T> = (typ
src/common.ts:63
↓ 3 callers
Function
isListField
(graphQLType: GraphQLType)
src/common.ts:108
↓ 3 callers
Function
logOnError
(func: T)
src/logger.ts:34
↓ 2 callers
Function
excludeFields
(graphQLObjectType: GraphQLObjectType, cach: { [key: string]: GraphQLObjectType }, ...excludedFields: string[]
tests/specs/graphQLUpdateType.spec.ts:429
↓ 2 callers
Function
flattenListField
(objects: object[], type: GraphQLType)
src/mongoDbUpdateValidation.ts:146
↓ 2 callers
Function
getGraphQLLeafFilterType
(leafType: GraphQLLeafType, not: boolean = false)
src/graphQLFilterType.ts:89
↓ 2 callers
Function
getGraphQLSetObjectType
( type: GraphQLScalarType | GraphQLEnumType | GraphQLNonNull<any> | GraphQLObjectType | GraphQLList<any>,
src/graphQLUpdateType.ts:60
↓ 2 callers
Function
getGraphQLUpdateType
(type: GraphQLObjectType, ...excludedFields: string[])
src/graphQLUpdateType.ts:9
↓ 2 callers
Function
getMongoDbInc
(inc: object)
src/mongoDbUpdate.ts:102
↓ 2 callers
Function
getMongoDbSet
(set: object, setOverwrite: SetOverwrite)
src/mongoDbUpdate.ts:61
↓ 2 callers
Function
getMongoDbSort
(sort: SortArg)
src/mongoDbSort.ts:14
↓ 2 callers
Function
getOverwrite
(current: SetOverwrite, input?: boolean)
src/mongoDbUpdate.ts:86
↓ 2 callers
Function
getSelectedProjection
( selectionNodes: SelectionNode[], graphQLFieldsType: GraphQLFieldsType, extra: { info: GraphQLRes
src/mongoDbProjection.ts:33
↓ 2 callers
Function
markResolverless
(type: GraphQLObjectType)
examples/apollo/src/SolutionA/directives.ts:223
↓ 2 callers
Function
markResolverless
(type: GraphQLObjectType)
examples/apollo/src/SolutionB/directives.ts:190
↓ 2 callers
Function
parseMongoDbLeafFilter
(graphQLLeafFilter: GraphQLLeafFilter, not: boolean = false)
src/mongoDbFilter.ts:135
↓ 2 callers
Function
setLogger
(loggerObject: Logger)
src/logger.ts:27
↓ 2 callers
Function
validateNonNullListField
(fieldValues: object[], type: GraphQLType)
src/mongoDbUpdateValidation.ts:86
↓ 2 callers
Function
validateNonNullableFieldsAssert
(objects: object[], typeFields: GraphQLFieldMap<any, any>, path: string[] = [])
src/mongoDbUpdateValidation.ts:64
↓ 2 callers
Function
validateNonNullableFieldsTraverse
( objects: object[], typeFields: GraphQLFieldMap<any, any>, shouldAssert: ShouldAssert, isReso
src/mongoDbUpdateValidation.ts:118
↓ 2 callers
Function
validateUpdateArgs
(updateArgs: UpdateArgs, graphQLType: GraphQLObjectType, options: ValidateUpdateArgsOptions = defaultOptions)
src/mongoDbUpdateValidation.ts:25
↓ 2 callers
Function
warn
(message?: any, ...optionalParams: any[])
src/logger.ts:15
↓ 2 callers
Function
warnOfIndependentResolveFields
(type: GraphQLFieldsType)
src/graphQLFilterType.ts:135
↓ 1 callers
Function
GetOprExistsType
()
src/graphQLFilterType.ts:24
↓ 1 callers
Function
GetOprType
()
src/graphQLFilterType.ts:8
↓ 1 callers
Function
buildFictiveSchema
(inputType: GraphQLInputType)
tests/utils/printInputType.ts:6
↓ 1 callers
Function
description
(test: { setOverwrite: SetOverwrite, input: boolean | undefined, expectedOverwrite: SetOverwrite })
tests/specs/mongoDbUpdate.spec.ts:373
↓ 1 callers
Function
enhanceWithNotField
(fields: GraphQLInputFieldConfigMap, scalarType: GraphQLScalarType | GraphQLEnumType)
src/graphQLFilterType.ts:131
↓ 1 callers
Function
enhanceWithRegexFields
(fields: GraphQLInputFieldConfigMap)
src/graphQLFilterType.ts:126
↓ 1 callers
Function
error
(message?: any, ...optionalParams: any[])
src/logger.ts:21
↓ 1 callers
Function
getEnumResolvers
(typesCache: { [key: string]: GraphQLNamedType; })
examples/apollo/src/SolutionA/makeExecutableSchema.ts:73
↓ 1 callers
Function
getEnumResolvers
(typesCache: { [key: string]: GraphQLNamedType; })
examples/graphql-tools/src/SolutionA/makeExecutableSchema.ts:60
↓ 1 callers
Function
getFragmentProjection
( fragmentSpreadNode: FragmentSpreadNode, graphQLFieldsType: GraphQLFieldsType, extra: { info: Gra
src/mongoDbProjection.ts:81
↓ 1 callers
Function
getGraphQLIncType
( type: GraphQLScalarType | GraphQLEnumType | GraphQLNonNull<any> | GraphQLObjectType | GraphQLList<any>,
src/graphQLUpdateType.ts:99
↓ 1 callers
Function
getGraphQLIncTypeFields
(type: GraphQLObjectType, ...excludedFields: string[])
src/graphQLUpdateType.ts:128
↓ 1 callers
Function
getGraphQLInsertTypeFields
(graphQLType: GraphQLObjectType, ...excludedFields: string[])
src/graphQLInsertType.ts:14
↓ 1 callers
Function
getGraphQLScalarFilterTypeFields
(scalarType: GraphQLLeafType, not: boolean)
src/graphQLFilterType.ts:99
↓ 1 callers
Function
getGraphQLSetObjectTypeFields
(type: GraphQLObjectType, isInList: boolean, ...excludedFields: string[])
src/graphQLUpdateType.ts:87
↓ 1 callers
Function
getGraphQLSetOnInsertType
( type: GraphQLScalarType | GraphQLEnumType | GraphQLNonNull<any> | GraphQLObjectType | GraphQLList<any>,
src/graphQLUpdateType.ts:26
↓ 1 callers
Function
getGraphQLSetType
(type: GraphQLObjectType, ...excludedFields: string[])
src/graphQLUpdateType.ts:51
↓ 1 callers
Function
getGraphQLSortTypeFields
(type: GraphQLFieldsType, ...excludedFields: string[])
src/graphQLSortType.ts:33
↓ 1 callers
Function
getInputObjectTypeFields
(type: GraphQLFieldsType, ...excludedFields: string[])
src/graphQLFilterType.ts:77
↓ 1 callers
Function
getLogger
()
src/logger.ts:30
↓ 1 callers
Function
getMongoDbQueryField1
(type: GraphQLObjectType, collectionName: string)
examples/express/src/queryFieldUtil.ts:5
↓ 1 callers
Function
getMongoDbQueryField2
(type: GraphQLObjectType, getCollection: (context: any) => Collection)
examples/express/src/queryFieldUtil.ts:14
↓ 1 callers
Function
getOrAndFields
(type: GraphQLFieldsType, ...excludedFields: string[])
src/graphQLFilterType.ts:41
↓ 1 callers
Function
getShouldAssert
(current: ShouldAssert, input?: boolean)
src/mongoDbUpdateValidation.ts:102
↓ 1 callers
Function
getType
(type: GraphQLOutputType)
tests/specs/graphQLUpdateType.spec.ts:430
↓ 1 callers
Function
getUpdateFields
(graphQLType: GraphQLObjectType, ...excludedFields: string[])
src/graphQLUpdateType.ts:18
↓ 1 callers
Function
innerType
(type: GraphQLInputType)
examples/apollo/src/SolutionA/makeExecutableSchema.ts:66
↓ 1 callers
Function
innerType
(type: GraphQLOutputType)
examples/apollo/src/SolutionA/directives.ts:224
↓ 1 callers
Function
innerType
(type: GraphQLInputType)
examples/apollo/src/SolutionB/makeExecutableSchema.ts:43
↓ 1 callers
Function
innerType
(type: GraphQLOutputType)
examples/apollo/src/SolutionB/directives.ts:191
↓ 1 callers
Function
innerType
(type: GraphQLInputType)
examples/graphql-tools/src/SolutionA/makeExecutableSchema.ts:54
↓ 1 callers
Function
innerType
(type: GraphQLInputType)
examples/graphql-tools/src/SolutionB/makeExecutableSchema.ts:43
↓ 1 callers
Function
isLeafTypeTypeGuard
(fieldFilter: GraphQLObjectFilter | GraphQLLeafFilter, fieldType: GraphQLObjectType | GraphQLLeafType)
src/mongoDbFilter.ts:35
↓ 1 callers
Function
isNonNullField
(graphQLType: GraphQLType)
src/common.ts:120
↓ 1 callers
Function
isPrimitive
(value: any)
src/common.ts:140
↓ 1 callers
Function
isValidDate
(date)
src/common.ts:149
↓ 1 callers
Function
omitRedundantProjection
(projection: MongoDbProjection)
src/mongoDbProjection.ts:93
↓ 1 callers
Function
parseMongoDbFilter
(type: GraphQLFieldsType, graphQLFilter: GraphQLObjectFilter, ...excludedFields: string[])
src/mongoDbFilter.ts:92
↓ 1 callers
Function
parseMongoDbLeafNoteFilter
(graphQLLeafFilterInner: GraphQLLeafFilterInner)
src/mongoDbFilter.ts:170
↓ 1 callers
Function
parseMongoDbScalarFilterOpr
(opr: MongoDbLeafOperators, graphQLFilter: GraphQLLeafFilter)
src/mongoDbFilter.ts:185
↓ 1 callers
Function
parseMongoExistsFilter
(exists: 'exists' | 'not_exists')
src/mongoDbFilter.ts:131
↓ 1 callers
Function
resolveLazyFields
(types: GraphQLInputObjectType[])
examples/apollo/src/SolutionA/makeExecutableSchema.ts:54
↓ 1 callers
Function
resolveLazyFields
(types: GraphQLInputObjectType[])
examples/apollo/src/SolutionB/makeExecutableSchema.ts:31
↓ 1 callers
Function
resolveLazyFields
(types: GraphQLInputObjectType[])
examples/graphql-tools/src/SolutionA/makeExecutableSchema.ts:42
↓ 1 callers
Function
resolveLazyFields
(types: GraphQLInputObjectType[])
examples/graphql-tools/src/SolutionB/makeExecutableSchema.ts:31
↓ 1 callers
Function
trimFictiveParts
(schema: string, inputType: GraphQLInputType)
tests/utils/printInputType.ts:20
↓ 1 callers
Function
validateNonNullableFieldsOuter
( updateArgs: UpdateArgs, graphQLType: GraphQLObjectType, { overwrite, isResolvedField }: Validate
src/mongoDbUpdateValidation.ts:35
Function
action
()
tests/specs/mongoDbFilter.spec.ts:364
Function
getGraphQLInsertTypeNested
( type: GraphQLScalarType | GraphQLEnumType | GraphQLNonNull<any> | GraphQLObjectType | GraphQLList<any>,
src/graphQLInsertType.ts:28
Function
getGraphQLObjectFilterType
( type: GraphQLScalarType | GraphQLEnumType | GraphQLNonNull<any> | GraphQLInterfaceType | GraphQLObjectTy
src/graphQLFilterType.ts:55
Function
getGraphQLSortTypeObject
(type: GraphQLType, ...excludedFields)
src/graphQLSortType.ts:7
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:31
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:38
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:67
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:88
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:117
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:139
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:165
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionA/directives.ts:191
Method
visitFieldDefinition
(field: GraphQLField<any, any>)
examples/apollo/src/SolutionB/directives.ts:27
next →
1–100 of 124, ranked by callers