-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear clinical submission resolver #1055
Conversation
programShortName, | ||
fileType, | ||
version, | ||
(<GlobalGqlContext>contextValue).egoToken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency w/ other functions I would change line 28 to contextValue: GlobalGqlContext,
and
line 35 to contextValue.egoToken,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately, the buildSubgraphSchema method does not accept resolvers of custom context type. Hence the typecast.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I see now, sorry VSCode TS version was not set correctly
* develop: Clear clinical submission resolver (#1055) # Conflicts: # src/app.ts # src/schemas/gqlTypeDefs.ts # src/schemas/resolvers.ts # src/server.ts Also added the default filetype
has the clearClinicalSubmission resolver
also has auth added to make user information available in the query.