Skip to content

Conversation

@krig
Copy link
Contributor

@krig krig commented Sep 3, 2025

Got the following deprecation warning when building gleam_hackney:

Compiling gleam_hackney
warning: Deprecated value used
┌─ .../build/packages/gleam_hackney/src/gleam/hackney.gleam:30:26

30 │ use response <- result.then(
│ ^^^^ This value has been deprecated

It was deprecated with this message: This function is an alias of result.try, use that instead

Got the following deprecation warning when building
gleam_hackney:

  Compiling gleam_hackney
warning: Deprecated value used
   ┌─ .../build/packages/gleam_hackney/src/gleam/hackney.gleam:30:26
   │
30 │   use response <- result.then(
   │                          ^^^^ This value has been deprecated

It was deprecated with this message: This function is an alias of
result.try, use that instead
Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@lpil lpil merged commit 6a93c4b into gleam-lang:main Sep 3, 2025
@krig krig deleted the deprecated-result-then branch September 3, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants