Skip to content

Commit

Permalink
Improves documentation of wrapped date members in Teco (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevapple authored Oct 18, 2023
1 parent dedb35a commit f02455d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/TecoServiceGenerator/helpers/ModelHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func publicLetWithWrapper(for member: APIObject.Member, documentation: String =
documentation += "///\n"
}
return """
\(documentation)/// While the wrapped date value is immutable just like other fields, you can customize the projected
/// string value (through `$`-prefix) in case the synthesized encoding is incorrect.
\(documentation)/// While the wrapped date value is immutable just like other fields, you can customize the underlying
/// string value (through `$\(member.identifier)`) in case the synthesized encoding is incorrect.
\(availablility)@\(dateType.propertyWrapper) public var
"""
} else {
Expand Down

0 comments on commit f02455d

Please sign in to comment.