Extracts raw scalar value. Only the following scala values are allowed to be returned:
Only normal scala scalar values
Scalar values are Scala String, Int, Double, Boolean and Enum values defined in the schema as well as ast nodes if appropriate. TODO: find better approach. Ideally the should be only one getScalarValue method witch returns normal scala values
getScalarValue