Change struct to map in order to make dynamic connections (including tests) #100
Annotations
2 errors and 13 warnings
test/connection_test.exs#L7
** (CompileError) test/connection_test.exs:7: ExTypesense.Connection.__struct__/1 is undefined, cannot expand struct ExTypesense.Connection. Make sure the struct name is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module usage in your code
|
|
lib/ex_typesense.ex#L92
ExTypesense.Document.delete_document/1 is deprecated. use delete_document_by_struct/2
|
lib/ex_typesense/document.ex#L494
ExTypesense.HttpClient.run/2 is deprecated. Use request/2 instead
|
lib/ex_typesense.ex#L95
ExTypesense.Document.delete_document/2 is deprecated. use delete_document_by_id/3
|
test/document_test.exs#L49
variable "conn" does not exist and is being expanded to "conn()", please use parentheses to remove the ambiguity or change the variable name
|
test/cluster_test.exs#L23
variable "context" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
test/document_test.exs#L50
variable "conn" does not exist and is being expanded to "conn()", please use parentheses to remove the ambiguity or change the variable name
|
test/document_test.exs#L53
variable "conn" does not exist and is being expanded to "conn()", please use parentheses to remove the ambiguity or change the variable name
|
test/document_test.exs#L54
variable "conn" does not exist and is being expanded to "conn()", please use parentheses to remove the ambiguity or change the variable name
|
test/document_test.exs#L56
variable "conn" does not exist and is being expanded to "conn()", please use parentheses to remove the ambiguity or change the variable name
|
test/document_test.exs#L63
variable "conn" does not exist and is being expanded to "conn()", please use parentheses to remove the ambiguity or change the variable name
|
test/document_test.exs#L63
undefined function conn/0 (expected DocumentTest to define such a function or for it to be imported, but none are available)
|
test/document_test.exs#L56
undefined function conn/0 (expected DocumentTest to define such a function or for it to be imported, but none are available)
|
test/document_test.exs#L54
undefined function conn/0 (expected DocumentTest to define such a function or for it to be imported, but none are available)
|
This job failed
Loading