Is there an existing issue for this?
What happened?
This code no longer compiles with Elixir 1.18.4+ / OTP 28 as it's emitting a warning
|
|> Inspect.Map.inspect_as_struct("TeslaApi.Error", fields, opts) |
Expected Behavior
Either compile correctly or we should rephrase support ambitions again in:
https://docs.teslamate.org/docs/development#requirements
Can the issue reliably be reproduced?
Yes
Steps To Reproduce the issue
No response
Relevant log output
Generating TeslaMateWeb.Cldr for 20 locales named [:ca, :da, :de, :en, :es, ...] with a default locale named :en
warning: Inspect.Map.inspect_as_struct/4 is undefined or private. Did you mean:
* inspect/4
* inspect/2
│
127 │ |> Inspect.Map.inspect_as_struct("TeslaApi.Error", fields, opts)
│ ~
│
└─ lib/tesla_api/error.ex:127:20: Inspect.TeslaApi.Error.inspect/2
Compilation failed due to warnings while using the --warnings-as-errors option
Screenshots
No response
Additional data
No response
Type of installation
Docker (https://docs.teslamate.org/docs/installation/docker/)
Version
4.1.0-dev
PostgreSQL version
18.4
Are you running latest major supported PostgreSQL version?
Are you using a reverse Proxy for TeslaMate?
Yes (specify in next field)
Details about your reverse Proxy if applicable
Traefik
Is there an existing issue for this?
What happened?
This code no longer compiles with Elixir 1.18.4+ / OTP 28 as it's emitting a warning
teslamate/lib/tesla_api/error.ex
Line 127 in 7054517
Expected Behavior
Either compile correctly or we should rephrase support ambitions again in:
https://docs.teslamate.org/docs/development#requirements
Can the issue reliably be reproduced?
Yes
Steps To Reproduce the issue
No response
Relevant log output
Screenshots
No response
Additional data
No response
Type of installation
Docker (https://docs.teslamate.org/docs/installation/docker/)
Version
4.1.0-dev
PostgreSQL version
18.4
Are you running latest major supported PostgreSQL version?
Are you using a reverse Proxy for TeslaMate?
Yes (specify in next field)
Details about your reverse Proxy if applicable
Traefik