You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate falcor routes pertaining to character genes to get the database relationships using Neo4j.
Specs
Character genes will no longer come from MongoDB. Their association to characters and other genes as well as their details will be stored in Neo4j.
Character Genes Length
The current length of character genes comes from the length of the array in the mongo document. Instead, this should come from the set of non-archived (see #12 and #11) HAS relationships from this character to a gene, ordered by their creation date.
Character Genes By Index
The current means of fetching individual genes is by their index position in the array. This array should become the ordered set of character genes that follow the above logic.
The value at the index should no longer be an atom, but a reference to genesById[id: string].
Overview
Migrate falcor routes pertaining to character genes to get the database relationships using Neo4j.
Specs
Character genes will no longer come from MongoDB. Their association to characters and other genes as well as their details will be stored in Neo4j.
Character Genes Length
The current length of character genes comes from the length of the array in the mongo document. Instead, this should come from the set of non-archived (see #12 and #11)
HAS
relationships from this character to a gene, ordered by their creation date.Character Genes By Index
The current means of fetching individual genes is by their index position in the array. This array should become the ordered set of character genes that follow the above logic.
The value at the index should no longer be an atom, but a reference to
genesById[id: string]
.Altering character genes is currently accomplished by altering the indexed item in the array. Instead, this should alter the gene in neo by its ID.
Push Character Gene
Character genes are created by pushing to the array in mongo. Instead, the entire relationship will be tracked in neo with no mongo equivalent:
With the following properties:
The text was updated successfully, but these errors were encountered: