You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That code has to be executed in every subclass. So it would be even more comfortable and less error prone if the existing transformArray method could already internally transform primitive types.
Which Areas Would Be Affected?
JSON-LD, probably the AbstractJsonLdTransformer
Why Is the Feature Desired?
Ease of use, centralizing features.
Solution Proposal
add a check to the transformArray method, if the object in question is a primitive type.
The text was updated successfully, but these errors were encountered:
Feature Request
It would be good to have a way to automatically transform collections of primitive types readily available.
For example, transforming a
Set<String>
can currently be done using the following code:That code has to be executed in every subclass. So it would be even more comfortable and less error prone if the existing
transformArray
method could already internally transform primitive types.Which Areas Would Be Affected?
JSON-LD, probably the
AbstractJsonLdTransformer
Why Is the Feature Desired?
Ease of use, centralizing features.
Solution Proposal
add a check to the
transformArray
method, if the object in question is a primitive type.The text was updated successfully, but these errors were encountered: