Closed Kariel-Myrr closed 2 years ago
FieldName, EntryTag, PathSegment used unsafe(default text) constructors for FromJSON, FromJSONKey and FromHttpApiData
FieldName
EntryTag
PathSegment
FromJSON
FromJSONKey
FromHttpApiData
Write new safe instances that use smart newFieldName constructor. Cover new functionality with bad-case tests Also corrected previous Error msg.
newFieldName
Fixed #118
Tests
Documentation
Description
Problem:
FieldName
,EntryTag
,PathSegment
used unsafe(default text) constructors forFromJSON
,FromJSONKey
andFromHttpApiData
Solution:
Write new safe instances that use smart
newFieldName
constructor. Cover new functionality with bad-case tests Also corrected previous Error msg.Related issue(s)
Fixed #118
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)