Skip to content

Conversation

@smt116
Copy link
Contributor

@smt116 smt116 commented Oct 18, 2024

Fix the following warning when compiling against Elixir 1.17.x:

warning: using map.field notation (without parentheses) to invoke function [...].Client.__middleware__() is deprecated, you must add parentheses instead: remote.function()
  (appsignal 2.13.0) lib/appsignal/tesla.ex:113: Appsignal.Tesla.module_middlewares/1
  (appsignal 2.13.0) lib/appsignal/tesla.ex:106: Appsignal.Tesla.env_middlewares/1
  (appsignal 2.13.0) lib/appsignal/tesla.ex:45: Appsignal.Tesla.do_tesla_request_start/2
  (telemetry 1.3.0) [...]/elixir/deps/telemetry/src/telemetry.erl:167: anonymous fn/4 in :telemetry.execute/3
  (stdlib 6.1.2) lists.erl:2310: :lists.foreach_1/2
  (tesla 1.12.1) lib/tesla/middleware/telemetry.ex:96: Tesla.Middleware.Telemetry.call/3
  (appsignal 2.13.0) lib/appsignal/instrumentation.ex:10: Appsignal.Instrumentation.instrument/1

Fix the following warning when compiling against Elixir 1.17.x:

```
warning: using map.field notation (without parentheses) to invoke function [...].Client.__middleware__() is deprecated, you must add parentheses instead: remote.function()
  (appsignal 2.13.0) lib/appsignal/tesla.ex:113: Appsignal.Tesla.module_middlewares/1
  (appsignal 2.13.0) lib/appsignal/tesla.ex:106: Appsignal.Tesla.env_middlewares/1
  (appsignal 2.13.0) lib/appsignal/tesla.ex:45: Appsignal.Tesla.do_tesla_request_start/2
  (telemetry 1.3.0) [...]/elixir/deps/telemetry/src/telemetry.erl:167: anonymous fn/4 in :telemetry.execute/3
  (stdlib 6.1.2) lists.erl:2310: :lists.foreach_1/2
  (tesla 1.12.1) lib/tesla/middleware/telemetry.ex:96: Tesla.Middleware.Telemetry.call/3
  (appsignal 2.13.0) lib/appsignal/instrumentation.ex:10: Appsignal.Instrumentation.instrument/1
```
@tombruijn tombruijn added the chore A small task that takes a day or two at the most. label Oct 25, 2024
@backlog-helper

This comment has been minimized.

4 similar comments
@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper
Copy link

backlog-helper bot commented Nov 4, 2024


This is a message from the daily scheduled checks.

New issue guide | Backlog management | Rules | Feedback

See previous commit for the change.

[skip ci]
@tombruijn tombruijn merged commit 6a62ea1 into appsignal:main Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A small task that takes a day or two at the most.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants