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

Integration module between FUUID/memeid #239

Merged
merged 6 commits into from
Sep 30, 2020

Conversation

alejandrohdezma
Copy link
Collaborator

The FUUID integration provides both semi (via extension methods) and auto conversions between memeid's UUID type and FUUID.

import memeid4s.UUID
import io.chrisdavenport.fuuid.FUUID
import memeid4s.fuuid.syntax._

val fuuid: FUUID = UUID.V4.random.toFUUID

val uuid: UUID = fuuid.toUUID
import memeid4s.UUID
import io.chrisdavenport.fuuid.FUUID
import memeid4s.fuuid.auto._

def usingFUUID(fuuid: FUUID) = fuuid
def usingUUID(uuid: UUID) = uuid

val uuid: UUID = UUID.V4.random
val fuuid: FUUID = FUUID.fromUUID(java.util.UUID.randomUUID)

usingFUUID(uuid)
usingUUID(fuuid)

@github-actions github-actions bot added the enhancement New feature or request label Sep 21, 2020
@codecov
Copy link

codecov bot commented Sep 21, 2020

Codecov Report

Merging #239 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #239      +/-   ##
==========================================
+ Coverage   98.76%   98.82%   +0.05%     
==========================================
  Files          12       14       +2     
  Lines          81       85       +4     
  Branches        1        1              
==========================================
+ Hits           80       84       +4     
  Misses          1        1              
Impacted Files Coverage Δ
...d4s-fuuid/src/main/scala/memeid4s/fuuid/auto.scala 100.00% <100.00%> (ø)
...s-fuuid/src/main/scala/memeid4s/fuuid/syntax.scala 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd46ce1...dea543e. Read the comment docs.

@alejandrohdezma alejandrohdezma merged commit a72769f into master Sep 30, 2020
@alejandrohdezma alejandrohdezma deleted the feature/fuuid-integration branch September 30, 2020 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants