Replies: 1 comment 1 reply
-
On Fri, Dec 15, 2023 at 09:22:03AM -0800, Paul Harrison wrote:
The type system is sort of broken in that there is no "value" in
quantity only a possible unit - this does have implications when
Quantity is used in other models (e.g. coords).
+2000. I've always bemoaned that.
(not to mention that I'd *really* have liked if this whole thing had
just said "we're pointing to VOTable PARAMs and thus don't mention
unit, ucd, and whatever at all; if you really need to annotate
something other than VOTable, then do a FIELD/PARAM equivalent for
your own format and do the VO-DML binding based on that).
[But I really shouldn't be here...]
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The type system is sort of broken in that there is no "value" in quantity only a possible unit - this does have implications when Quantity is used in other models (e.g. coords).
Within the way that typing is used in vo-dml, there should probably be an abstract value primitive that could be put in here.
This exemplifies the difference between what a Data Model should specify and what a conceptual Domain model - we "know" conceptually that a "Quantity" should have a value - however in data models we should make that explicit.
Beta Was this translation helpful? Give feedback.
All reactions