Skip to content

WOQL.literal(0, 'xsd:double') drops @type: DataValue when val is 0 #325

@wcoolidge

Description

@wcoolidge

WOQL.literal(0, 'xsd:double') for val of 0 generates:

{
              "@type": "xsd:double",
              "@value": 0
}

instead of:

{
          "@type": "DataValue",
          "data": {
            "@type": "xsd:double",
            "@value": 0
          }
 }

This is done with terminusdb 11.1.12, "@terminusdb/terminusdb-client": "10.0.33", under typescript.
SWI-Prolog version 9.2.9 for x86_64-linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageissue to be triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions