Princeton-CDH / bluemountainsprings

A RESTful API to Blue Mountain
0 stars 2 forks source link

Duplicate/redundant code #91

Open rlskoeser opened 7 years ago

rlskoeser commented 7 years ago

It looks like there is some redundancy in the xquery module (possibly a duplicated endpoint? although maybe I'm misreading that). For methods that return the same data in different formats, is there not a way to consolidate the query logic in one place rather than repeating it?