[BUG] (UndefinedFunctionError) function :ping_erlang.__info__/1 is undefined or private
- Lingua principale
- Elixir
- Stelle
- 1.4k
- Fork
- 171
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Versions Used**
Kaffy: 0.10.0
Phoenix: 1.7
Elixir: 1.15.5-otp-26
Erlang: 26.0.2
On admin page loading get following error - (UndefinedFunctionError) function :ping_erlang.__info__/1 is undefined or private
Fixed locally by manual patching the method
deps/kaffy/lib/kaffy/utils.ex - get_schemas method with following code -
```
defp get_schemas(mods) do
Enum.filter(mods, fn m ->
if m == :ping_erlang do
false
else
functions = m.__info__(:functions)
Keyword.has_key?(functions, :__schema__) && Map.has_key?(m.__struct__, :__meta__)
end
end)
end
```
Admin page should be displayed
**Screenshots**
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.