Skip to content

Change struct to map in order to make dynamic connections (including tests) #100

Change struct to map in order to make dynamic connections (including tests)

Change struct to map in order to make dynamic connections (including tests) #100

Triggered via pull request June 30, 2024 12:19
Status Failure
Total duration 1m 6s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 26 warnings
test (0.25.2, 8108:8108): 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
test (0.25.2, 8108:8108)
Process completed with exit code 1.
test (26.0, 8108:8108): 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
test (26.0, 8108:8108)
Process completed with exit code 1.
test (0.25.2, 8108:8108): lib/ex_typesense.ex#L92
ExTypesense.Document.delete_document/1 is deprecated. use delete_document_by_struct/2
test (0.25.2, 8108:8108): lib/ex_typesense/document.ex#L494
ExTypesense.HttpClient.run/2 is deprecated. Use request/2 instead
test (0.25.2, 8108:8108): lib/ex_typesense.ex#L95
ExTypesense.Document.delete_document/2 is deprecated. use delete_document_by_id/3
test (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): test/cluster_test.exs#L23
variable "context" is unused (if the variable is not meant to be used, prefix it with an underscore)
test (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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 (0.25.2, 8108:8108): 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)
test (26.0, 8108:8108): test/cluster_test.exs#L23
variable "context" is unused (if the variable is not meant to be used, prefix it with an underscore)
test (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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 (26.0, 8108:8108): 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)
test (26.0, 8108:8108): lib/ex_typesense/document.ex#L494
ExTypesense.HttpClient.run/2 is deprecated. Use request/2 instead
test (26.0, 8108:8108): lib/ex_typesense.ex#L92
ExTypesense.Document.delete_document/1 is deprecated. use delete_document_by_struct/2
test (26.0, 8108:8108): lib/ex_typesense.ex#L95
ExTypesense.Document.delete_document/2 is deprecated. use delete_document_by_id/3