diff options
author | Mark Felder <feld@feld.me> | 2024-05-28 10:36:00 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-05-28 10:36:00 -0400 |
commit | 8743c6c640d395ff6d7d268df1e382ba0fb0ca96 (patch) | |
tree | 712eeffb317baf311f2c8e30966b1c0040361cde /docs/development/API/nodeinfo.md | |
parent | 1b3c84e241f8ed1066d113346365ce489971ac14 (diff) | |
download | pleroma-8743c6c640d395ff6d7d268df1e382ba0fb0ca96.tar.gz pleroma-8743c6c640d395ff6d7d268df1e382ba0fb0ca96.zip |
Dialyzer: The pattern can never match the type
We will never pass :plain to query_with/4, so remove that match and change it to query_with/3
lib/pleroma/search/database_search.ex:127:pattern_match
The pattern can never match the type.
Pattern:
_q, :rum, _search_query, :plain
Type:
%Ecto.Query{
:aliases => _,
:assocs => _,
:combinations => _,
:distinct => _,
:from => _,
:group_bys => _,
:havings => _,
:joins => _,
:limit => _,
:lock => _,
:offset => _,
:order_bys => _,
:prefix => _,
:preloads => _,
:select => _,
:sources => _,
:updates => _,
:wheres => _,
:windows => _,
:with_ctes => _
},
:rum,
_,
:websearch
Diffstat (limited to 'docs/development/API/nodeinfo.md')
0 files changed, 0 insertions, 0 deletions