sassoftware / restaf

A simple framework for building applications with SAS REST APIs, supported with SAS Viya
Apache License 2.0
17 stars 10 forks source link

addServices: Allow service lookup thru addService #28

Closed devaKumaraswamy closed 4 years ago

devaKumaraswamy commented 4 years ago

restaf has a method to get the root object of a service added via restaf. This returns a null if service does not exist. It makes for better flow of code if addServices checked for existence of the service and either return the existing one or create a new one.

devaKumaraswamy commented 4 years ago

Completed. Merge pull request #29 from sassoftware/addServices