CARTAvis / carta-backend

Source code repository for the backend component of CARTA, a new visualization tool designed for the ALMA, the VLA and the SKA pathfinders.
https://cartavis.github.io/
GNU General Public License v3.0
22 stars 11 forks source link

Code style improvements in HTTP server code #1260

Closed confluence closed 1 year ago

confluence commented 1 year ago

As discussed in this comment and this comment, the object types passed as function parameters should be enum values rather than string literals, and schema URLs should be looked up in an unordered map with object types as keys.