1
 Follower
2
 Likes

Expose REST: Be able to interchangeably use Pascal/Camel casing and Underscore casing

Integration
Not right now

Outsystems Consume REST functionality already interprets underscore casing, to Pascal casing and vice versa - the same should be implemented for Outsystems expose REST functionality.


Most of outsystems developers use pascal casing to build their application; However when an external application and external developer consumes an exposed REST service, the de facto standard naming convention for REST is to be used, that is the underscore naming convention.


Example

ClientId would be Interchangeably interpreted as client_id and vice versa

ThisIsAnExample would be Interchangeably interpreted as this_is_an_example and vice versa

yetAnotherExample would be Interchangeably interpreted as yet_another_example and vice versa
 

Developers should be able to build their app as they normally would with outsystems platform using Pascal casing naming convention for REST Input/output parameters and JSON request/response structures - and outsystems would be able to convert between pascal/camel casing and underscore casing.


Request:
Developer could enable an option accept "underscore casing" compatibility or outsystems can build this in by default.

Response:
REST response could response back with either Pascal casing or underscore casing (there should be an option to enable this OR at least add a "OnAfterResponse" action to let the developer manipulate the REST service method response.

Created on 2 Sep 2015
Comments (1)
Changed the status to
Not right now


Hi,


Sorry for the late reply, but we are not planning on delivering this in the near future.


The investment to do this properly is too big for the return and for the upcoming new features that we have in mind and as you mention in your response, there's a workaround. Because of this, I’m marking this idea as “not right now”.


Nonetheless, thank you very much for your idea and keep it coming.

If you believe we missed some context that would change our perception about it, please give us more details about why you would need this and for what is the use case.


 Thanks!

views
301
Followers
1