Skip to content

Convert a native object to an instance of QueryField #110

@kbarbounakis

Description

@kbarbounakis

Description
The latest version of @themost/query supports the conversion of a javascript object to an instance of QueryField class e.g.

{
    "productName": "$product.name"
}

or

{
    "producDescription": {
          "$concat": [
                 "$product.model",
                 " ",
                 "$product.name"
         ]
     }
}

This feature should be supported also by the LTS version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestltsThis issue should be resolved to long time support version too.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions