-
Bug
-
Resolution: Fixed
-
Neutral
-
2.2.9
-
None
-
Empty show more show less
-
DevX 5
-
3
Steps to reproduce
- Configure any JCR property with a type Double
- Retrieve such property via Delivery API and see that no type is specified for it
This seems to cause that, per example, in React SPAs, the values recovered by components and the like is always of type String rather than the defined value.
Expected results
Numeric values should be returned without quotation to facilitate handling.
Actual results
Values are always returned on String format.
Workaround
Data can be casted to the desired type after retrieving the values on the client side
Development notes
Acceptance criteria
- is cloned by
-
MGNLREST-403 REST endpoints returns a String value regardless of the data type for Assets
- Closed