Skip to content

Conversation

@SamTheisens
Copy link
Contributor

Apparently scala creates a companion object if a case class is defined within a nesting object.
The parameters in the the apply method contain the fields of the case class without primitives erased.

which is the only option if the case class is defined nested within
an object.
@codecov
Copy link

codecov bot commented Aug 6, 2022

Codecov Report

Merging #169 (7f60079) into develop (8bdb0ce) will increase coverage by 0.56%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #169      +/-   ##
===========================================
+ Coverage    82.95%   83.51%   +0.56%     
===========================================
  Files            3        3              
  Lines          176      182       +6     
  Branches        10       20      +10     
===========================================
+ Hits           146      152       +6     
  Misses          30       30              
Impacted Files Coverage Δ
...github/swagger/scala/converter/ErasureHelper.scala 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pjfanning pjfanning merged commit cd32101 into swagger-akka-http:develop Aug 6, 2022
@pjfanning
Copy link
Contributor

Merged - thanks

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