Open
Description
I am playing around with the new HAL forms functionality and I have a question. It appears that properties within the affordance templates are being sorted alphabetically losing the order specified on the POJO. I presume this will be by design.
My goal is to create a client which renders dynamic forms based on the response from the API but I would want to be able to control ordering from the server. A simple workaround I can see is a prefix on the name of the field (i.e. field1_firstName, field2_lastName, field3_email).
Is there a recommended approach for doing this? Is it possible to retain the order of the properties as defined in the POJO?