Skip to content

Commit

Permalink
Clarify backreference
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed May 14, 2023
1 parent 1c3e85f commit 5199509
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ object ProtocolGenerator {
for {
nestedClassName <- formatTypeName(name).map(formattedName => getClsName(name).append(formattedName))
defn <- schema
.refine[F[Option[Either[String, NestedProtocolElems[L]]]]] { case x: ObjectSchema => x }(_ =>
.refine[F[Option[Either[String, NestedProtocolElems[L]]]]] { case x: ObjectSchema => x }(o =>
for {
defn <- fromModel(
nestedClassName,
schema,
o,
List.empty,
concreteTypes,
definitions,
Expand All @@ -422,7 +422,7 @@ object ProtocolGenerator {
parents <- extractParents(o, definitions, concreteTypes, dtoPackage, supportPackage, defaultPropertyRequirement, components)
maybeClassDefinition <- fromModel(
nestedClassName,
schema,
o,
parents,
concreteTypes,
definitions,
Expand Down

0 comments on commit 5199509

Please sign in to comment.