Closed paul-butcher closed 2 years ago
Do we need to call the JSON field
type
, or could we call itontologyType
to match the Scala (and reduce overloading)?
I had started calling it ontologyType, then I noticed it was type elsewhere, so changed it to match. I'll make it ontologyType instead.
Is it worth renaming type
to ontologyType
in the Concept
mapping too then? Although there will still be an inconsistency as type
is what we want to expose in the API, and I was hoping that for the first pass the Concept
s could be returned by the API as-is
This will require a new index (or to update the. mappings on the existing one) before it will work in real life.