Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate auth token code to cats effect #4318

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

shinyhappydan
Copy link
Contributor

No description provided.

import ch.epfl.bluebrain.nexus.delta.sdk.auth.Credentials.ClientCredentials
import ch.epfl.bluebrain.nexus.delta.sdk.identities.ParsedToken
import ch.epfl.bluebrain.nexus.delta.sdk.identities.model.AuthToken
import monix.bio.UIO
import monix.bio
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we get rid of monix here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I should have commented this: distage fromEffect does not seem to work with cats effect right now. I didn't want to investigate, since this was just something I was doing for myself and I didn't want to waste too much time on it

Copy link
Contributor

Choose a reason for hiding this comment

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

It is configured to expected a Monix IO for now and I don't think we can mix both

@shinyhappydan shinyhappydan merged commit bf0e1f1 into BlueBrain:master Oct 3, 2023
5 checks passed
@shinyhappydan shinyhappydan deleted the download-bug-weird branch October 3, 2023 07:30
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