MCPcopy Index your code
hub / github.com/parse-community/parse-server / resolve

Function resolve

src/GraphQL/loaders/usersQueries.js:86–92  ·  view source on GitHub ↗
(_source, _args, context, queryInfo)

Source from the content-addressed store, hash-verified

84 description: 'The viewer query can be used to return the current user data.',
85 type: new GraphQLNonNull(parseGraphQLSchema.viewerType),
86 async resolve(_source, _args, context, queryInfo) {
87 try {
88 return await getUserFromSessionToken(context, queryInfo, 'user.', false);
89 } catch (e) {
90 parseGraphQLSchema.handleError(e);
91 }
92 },
93 },
94 true,
95 true

Callers 15

handleUploadFunction · 0.70
loadTemplatesFunction · 0.50
initializeParseServerFunction · 0.50
benchmarkLiveQueryRegexFunction · 0.50
wrapMethodFunction · 0.50
startAppMethod · 0.50
makeCallbackFunction · 0.50
getResponseObjectFunction · 0.50
maybeRunAfterFindTriggerFunction · 0.50
maybeRunValidatorFunction · 0.50
maybeRunTriggerFunction · 0.50
handleRequestFunction · 0.50

Calls 2

getUserFromSessionTokenFunction · 0.85
handleErrorMethod · 0.45

Tested by 5

isAccountLockoutErrorFunction · 0.40
isAccountLockoutErrorFunction · 0.40
postMultipartFunction · 0.40
waitForStartupFunction · 0.40