Closed achirkof closed 7 years ago
It would be great to combine several attributes, for example case for entities and type for relation in one expression
case
type
let entityJSON = entity.hyp_dictionary(.camelCase) let entityJSON = entity.hyp_dictionary(using: .array)
to
let entityJSON = entity.hyp_dictionary(attributes: [RelationType: .array, CaseType: .camelCase])
Looks like there are a few issues https://github.com/SyncDB/SYNCPropertyMapper/pull/141#issuecomment-261780325
The mapping for to-many relationships was always snakeCase.
It would be great to combine several attributes, for example
case
for entities andtype
for relation in one expressionto