Alternative to multiple nested conditional if-then?
E.g. I have some 'segment id' for all the entries coming into the system and I need the endpoint to apply different functions based on that segment id. To do it right now I need to nest a lot of conditional if-then nested under each other, for every segment id value. Anything else I can do to perform such 'branching'?
Thanks
Other
7 replies