diff --git a/src/graphql/biospecimen/types/biospecimen.ts b/src/graphql/biospecimen/types/biospecimen.ts index 959569b..b90a79c 100644 --- a/src/graphql/biospecimen/types/biospecimen.ts +++ b/src/graphql/biospecimen/types/biospecimen.ts @@ -37,7 +37,17 @@ export const BiospecimenType = new GraphQLObjectType({ study: { type: StudyType }, }), extensions: { - nestedFields: ['files'], + nestedFields: [ + 'files', + 'participant.diagnoses', + 'participant.family_relationships', + 'participant.icd_tagged', + 'participant.mondo', + 'participant.mondo_tagged', + 'participant.observed_phenotype_tagged', + 'participant.observed_phenotypes', + 'participant.phenotypes_tagged', + ], esIndex: esBiospecimenIndex, }, }); diff --git a/src/graphql/participant/types/participant.ts b/src/graphql/participant/types/participant.ts index 90bcb27..f936387 100644 --- a/src/graphql/participant/types/participant.ts +++ b/src/graphql/participant/types/participant.ts @@ -67,6 +67,7 @@ export const ParticipantType = new GraphQLObjectType({ extensions: { nestedFields: [ 'files', + 'files.biospecimens', 'biospecimens', 'family_relationships', 'icd_tagged', diff --git a/src/graphql/study/types/study.ts b/src/graphql/study/types/study.ts index fda1a34..8c7e4d9 100644 --- a/src/graphql/study/types/study.ts +++ b/src/graphql/study/types/study.ts @@ -66,7 +66,7 @@ export const StudyType = new GraphQLObjectType({ experimental_strategies: { type: ExperimentalStrategiesType }, }), extensions: { - nestedFields: [], + nestedFields: ['data_categories', 'data_types', 'datasets', 'experimental_strategies'], esIndex: esStudyIndex, }, });