Skip to content

Conversation

@mvelimir
Copy link
Member

@mvelimir mvelimir commented Feb 9, 2023

No description provided.

@drmarjanovic drmarjanovic requested a review from mijicd February 10, 2023 08:34
for {
_ <- ZIO.logInfo(s"Deleting index '$Index'...")
_ <- ElasticRequest.deleteIndex(Index).execute
_ <- ZIO.serviceWithZIO[ElasticExecutor](_.deleteIndex(Index).execute)
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be great not having needing the call to execute as it makes the API usage awkward.

Copy link
Member Author

Choose a reason for hiding this comment

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

The only idea that comes to mind is an implicit conversion from ElasticRequest to ZIO.

@drmarjanovic
Copy link
Member

Closed in favour of #83

@drmarjanovic drmarjanovic deleted the module-pattern-2.0-2 branch February 22, 2023 15:26
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.

4 participants