-
Notifications
You must be signed in to change notification settings - Fork 6
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
implement working updated version of findAllChildTerms #581
Conversation
src/Server/Database/Term.fs
Outdated
@@ -185,6 +185,45 @@ type Term(?credentials:Neo4JCredentials, ?session:IAsyncSession) = | |||
printfn "%s" exn.Message | |||
[||] | |||
|
|||
/// <summary> | |||
/// This is a more complete implementation, which should be abstracted more later. |
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.
copy-paste comment
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.
fixed
src/Shared/Shared.fs
Outdated
searchTerm : TermQuery -> Async<Term []> | ||
searchTerms : TermQuery[] -> Async<TermQueryResults[]> | ||
getTermById : string -> Async<Term option> | ||
findAllChildTerms : TermQuery -> Async<Term []> |
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.
Do not use TermQuery. Introduce a new type, tailored to the API request. You are not using like 50% of the type.
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.
fixed
Closes #578