Skip to content
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

Merged
merged 7 commits into from
Sep 14, 2023

Conversation

UmmulkiramR
Copy link
Contributor

has the clearClinicalSubmission resolver
also has auth added to make user information available in the query.

src/server.ts Outdated Show resolved Hide resolved
programShortName,
fileType,
version,
(<GlobalGqlContext>contextValue).egoToken,
Copy link
Contributor

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,

Copy link
Contributor Author

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.

Copy link
Contributor

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

@UmmulkiramR UmmulkiramR merged commit 3372e52 into develop Sep 14, 2023
@UmmulkiramR UmmulkiramR deleted the clear_clinical_submission_resolver branch September 14, 2023 17:55
UmmulkiramR pushed a commit that referenced this pull request Sep 14, 2023
* 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
@demariadaniel demariadaniel mentioned this pull request Oct 13, 2023
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2. Submission Mutation GQL Move - Platform to RDPC
2 participants