Open alancleary opened 8 months ago
I've done some housekeeping/streamlining of the 5.1.0.4 model. It's not that much different, but note to self to double-check all the types and resolvers and queries against 5.1.0.4.
I've renamed the interfaces to FooInterface with a resolvable type Foo that implements it. I've added a boatload of types that hadn't been added yet.
Generally, if a field like locatedFeatures
originates in a class like BioEntity
(it does), then the resolver will treat the object as a BioEntity
for resolution. This helps simplify some things like resolving locatedFeatures
, which was missing before.
I've done the final updates to the types in the 5.1.0.4-model-changes branch. However, work needs to be done with resolvers to handle a few late things, if one wants to get 5.1.0.4 going with the old code base in this repo, rather than rolling out the big has-stuff-interfaces branch, which has all of the below done plus a helluva lot more. I may be able to get that work done next Thursday so 5.1.0.4 is tested and ready to go.
@sammyjava has a
5.1.0.4-model-changes
branch that adds support for Intermine version 5.1.0.4, which is required to integrate the trait association search web component into the LIS site, among other things.I'm opening this issue to serve as a reference for things related to this work that are located in different repos.Edit: Sam has left the project so this issue is being repurposed to keep track of the work that needs to be done to finish implementing support for InterMine version5.1.0.4
.has-stuff-interfaces
branchhas-stuff-interfaces
)has-stuff-interfaces
)has-stuff-interfaces
)5.1.0.4-model-changes
andhas-stuff-interfaces
branchesAnnotatable.graphql
Author.graphql
BioEntity.graphql
CDS.graphql
Chromosome.graphql
DataSet.graphql
DataSource.graphql
Exon.graphql
ExpressionSample.graphql
ExpressionSource.graphql
ExpressionValue.graphql
See issue #154GeneFamilyAssignment.graphql
GeneFamily.graphql
GeneFamilyTally.graphql
GeneFlankingRegion.graphql
Gene.graphql
GeneticMap.graphql
GeneticMarker.graphql
GenotypingPlatform.graphql
GWAS.graphql
GWASResult.graphql
IntergenicRegion.graphql
Intron.graphql
LinkageGroup.graphql
LinkageGroupPosition.graphql
Linkout.graphql
Location.graphql
Excludingfeature
fieldMRNA.graphql
OntologyAnnotation.graphql
Excludingsubject
fieldOntology.graphql
OntologyRelation.graphql
OntologyTerm.graphql
OntologyTermSynonym.graphql
Organism.graphql
PanGeneSet.graphql
Pathway.graphql
Phylonode.graphql
Phylotree.graphql
ProteinDomain.graphql
Protein.graphql
ProteinMatch.graphql
Publication.graphql
QTL.graphql
QTLStudy.graphql
Query.graphql
SequenceFeature.graphql
See issue #154Sequence.graphql
SOTerm.graphql
SequenceOntologyTerm
Strain.graphql
Supercontig.graphql
SyntenicRegion.graphql
SyntenyBlock.graphql
Trait.graphql
Transcript.graphql
UTR.graphql
Interface
is
src/data-sources/intermine/models/index.ts
search-<type>
files are implemented and up to datesrc/data-sources/intermine/api/index.ts
src/resolvers/intermine/index.ts
src/types/
src/data-sources/intermine/api/
src/data-sources/intermine/models/
src/resolvers/intermine/
jsoncount
instead ofsummaryPath
annotatable
,bio-entity
,sequence-feature
, andtranscript
) union types are completegeneric-resolvers
branch for an example. This will basically be any resolver in an interface's resolver factory and any resolver that calls agetTypeForOtherType
function.HasStuff
interfaces from the GraphQL API because the interfaces have no external function; i.e. keep the internalhasStuffFactory
resolvers.